|
|
1.1 root 1: #! /bin/sh
2:
3: # Guess values for system-dependent variables and create Makefiles.
4: # Generated automatically using autoconf version 2.12
5: # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6: #
7: # This configure script is free software; the Free Software Foundation
8: # gives unlimited permission to copy, distribute and modify it.
9:
10: # Defaults:
11: ac_help=
12: ac_default_prefix=/usr/local
13: # Any additions from configure.in:
14: ac_help="$ac_help
15: "
16: ac_help="$ac_help
17: "
18: ac_help="$ac_help
19: "
20: ac_help="$ac_help
21: "
22: ac_help="$ac_help
23: "
24: ac_help="$ac_help
25: "
26: ac_help="$ac_help
27: "
28: ac_help="$ac_help
29: "
30: ac_help="$ac_help
31: "
32: ac_help="$ac_help
33: "
34: ac_help="$ac_help
35: "
36: ac_help="$ac_help
37: "
38: ac_help="$ac_help
39: "
40: ac_help="$ac_help
41: "
42: ac_help="$ac_help
43: "
44: ac_help="$ac_help
45: "
46: ac_help="$ac_help
47: "
48: ac_help="$ac_help
49: "
50: ac_help="$ac_help
51: "
52: ac_help="$ac_help
53: "
54: ac_help="$ac_help
55: "
56: ac_help="$ac_help
57: "
58: ac_help="$ac_help
59: "
60: ac_help="$ac_help
61: "
62: ac_help="$ac_help
63: "
64: ac_help="$ac_help
65: "
66: ac_help="$ac_help
67: "
68: ac_help="$ac_help
69: "
70: ac_help="$ac_help
71: "
72: ac_help="$ac_help
73: "
74: ac_help="$ac_help
75: "
76: ac_help="$ac_help
77: "
78: ac_help="$ac_help
79: "
80: ac_help="$ac_help
81: "
82: ac_help="$ac_help
83: "
84: ac_help="$ac_help
85: "
86: ac_help="$ac_help
87: "
88: ac_help="$ac_help
89: "
90: ac_help="$ac_help
91: "
92: ac_help="$ac_help
93: "
94: ac_help="$ac_help
95: "
96: ac_help="$ac_help
97: "
98: ac_help="$ac_help
99: "
100: ac_help="$ac_help
101: "
102: ac_help="$ac_help
103: "
104: ac_help="$ac_help
105: "
106: ac_help="$ac_help
107: "
108: ac_help="$ac_help
109: "
110: ac_help="$ac_help
111: "
112: ac_help="$ac_help
113: "
114: ac_help="$ac_help
115: "
116: ac_help="$ac_help
117: "
118: ac_help="$ac_help
119: "
120: ac_help="$ac_help
121: "
122: ac_help="$ac_help
123: "
124: ac_help="$ac_help
125: "
126: ac_help="$ac_help
127: "
128: ac_help="$ac_help
129: "
130: ac_help="$ac_help
131: "
132: ac_help="$ac_help
133: "
134: ac_help="$ac_help
135: "
136: ac_help="$ac_help
137: "
138: ac_help="$ac_help
139: "
140: ac_help="$ac_help
141: "
142: ac_help="$ac_help
143: "
144: ac_help="$ac_help
145: "
146: ac_help="$ac_help
147: "
148: ac_help="$ac_help
149: "
150: ac_help="$ac_help
151: "
152: ac_help="$ac_help
153: "
154: ac_help="$ac_help
155: "
156: ac_help="$ac_help
157: "
158: ac_help="$ac_help
159: "
160: ac_help="$ac_help
161: "
162: ac_help="$ac_help
163: "
164: ac_help="$ac_help
165: "
166: ac_help="$ac_help
167: "
168: ac_help="$ac_help
169: "
170: ac_help="$ac_help
171: "
172:
173: # Initialize some variables set by options.
174: # The variables have the same names as the options, with
175: # dashes changed to underlines.
176: build=NONE
177: cache_file=./config.cache
178: exec_prefix=NONE
179: host=NONE
180: no_create=
181: nonopt=NONE
182: no_recursion=
183: prefix=NONE
184: program_prefix=NONE
185: program_suffix=NONE
186: program_transform_name=s,x,x,
187: silent=
188: site=
189: srcdir=
190: target=NONE
191: verbose=
192: x_includes=NONE
193: x_libraries=NONE
194: bindir='${exec_prefix}/bin'
195: sbindir='${exec_prefix}/sbin'
196: libexecdir='${exec_prefix}/libexec'
197: datadir='${prefix}/share'
198: sysconfdir='${prefix}/etc'
199: sharedstatedir='${prefix}/com'
200: localstatedir='${prefix}/var'
201: libdir='${exec_prefix}/lib'
202: includedir='${prefix}/include'
203: oldincludedir='/usr/include'
204: infodir='${prefix}/info'
205: mandir='${prefix}/man'
206:
207: # Initialize some other variables.
208: subdirs=
209: MFLAGS= MAKEFLAGS=
210: # Maximum number of lines to put in a shell here document.
211: ac_max_here_lines=12
212:
213: ac_prev=
214: for ac_option
215: do
216:
217: # If the previous option needs an argument, assign it.
218: if test -n "$ac_prev"; then
219: eval "$ac_prev=\$ac_option"
220: ac_prev=
221: continue
222: fi
223:
224: case "$ac_option" in
225: -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
226: *) ac_optarg= ;;
227: esac
228:
229: # Accept the important Cygnus configure options, so we can diagnose typos.
230:
231: case "$ac_option" in
232:
233: -bindir | --bindir | --bindi | --bind | --bin | --bi)
234: ac_prev=bindir ;;
235: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
236: bindir="$ac_optarg" ;;
237:
238: -build | --build | --buil | --bui | --bu)
239: ac_prev=build ;;
240: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
241: build="$ac_optarg" ;;
242:
243: -cache-file | --cache-file | --cache-fil | --cache-fi \
244: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
245: ac_prev=cache_file ;;
246: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
247: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
248: cache_file="$ac_optarg" ;;
249:
250: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
251: ac_prev=datadir ;;
252: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
253: | --da=*)
254: datadir="$ac_optarg" ;;
255:
256: -disable-* | --disable-*)
257: ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
258: # Reject names that are not valid shell variable names.
259: if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
260: { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
261: fi
262: ac_feature=`echo $ac_feature| sed 's/-/_/g'`
263: eval "enable_${ac_feature}=no" ;;
264:
265: -enable-* | --enable-*)
266: ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
267: # Reject names that are not valid shell variable names.
268: if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
269: { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
270: fi
271: ac_feature=`echo $ac_feature| sed 's/-/_/g'`
272: case "$ac_option" in
273: *=*) ;;
274: *) ac_optarg=yes ;;
275: esac
276: eval "enable_${ac_feature}='$ac_optarg'" ;;
277:
278: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
279: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
280: | --exec | --exe | --ex)
281: ac_prev=exec_prefix ;;
282: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
283: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
284: | --exec=* | --exe=* | --ex=*)
285: exec_prefix="$ac_optarg" ;;
286:
287: -gas | --gas | --ga | --g)
288: # Obsolete; use --with-gas.
289: with_gas=yes ;;
290:
291: -help | --help | --hel | --he)
292: # Omit some internal or obsolete options to make the list less imposing.
293: # This message is too long to be a string in the A/UX 3.1 sh.
294: cat << EOF
295: Usage: configure [options] [host]
296: Options: [defaults in brackets after descriptions]
297: Configuration:
298: --cache-file=FILE cache test results in FILE
299: --help print this message
300: --no-create do not create output files
301: --quiet, --silent do not print \`checking...' messages
302: --version print the version of autoconf that created configure
303: Directory and file names:
304: --prefix=PREFIX install architecture-independent files in PREFIX
305: [$ac_default_prefix]
306: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
307: [same as prefix]
308: --bindir=DIR user executables in DIR [EPREFIX/bin]
309: --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
310: --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
311: --datadir=DIR read-only architecture-independent data in DIR
312: [PREFIX/share]
313: --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
314: --sharedstatedir=DIR modifiable architecture-independent data in DIR
315: [PREFIX/com]
316: --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
317: --libdir=DIR object code libraries in DIR [EPREFIX/lib]
318: --includedir=DIR C header files in DIR [PREFIX/include]
319: --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
320: --infodir=DIR info documentation in DIR [PREFIX/info]
321: --mandir=DIR man documentation in DIR [PREFIX/man]
322: --srcdir=DIR find the sources in DIR [configure dir or ..]
323: --program-prefix=PREFIX prepend PREFIX to installed program names
324: --program-suffix=SUFFIX append SUFFIX to installed program names
325: --program-transform-name=PROGRAM
326: run sed PROGRAM on installed program names
327: EOF
328: cat << EOF
329: Host type:
330: --build=BUILD configure for building on BUILD [BUILD=HOST]
331: --host=HOST configure for HOST [guessed]
332: --target=TARGET configure for TARGET [TARGET=HOST]
333: Features and packages:
334: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
335: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
336: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
337: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
338: --x-includes=DIR X include files are in DIR
339: --x-libraries=DIR X library files are in DIR
340: EOF
341: if test -n "$ac_help"; then
342: echo "--enable and --with options recognized:$ac_help"
343: fi
344: exit 0 ;;
345:
346: -host | --host | --hos | --ho)
347: ac_prev=host ;;
348: -host=* | --host=* | --hos=* | --ho=*)
349: host="$ac_optarg" ;;
350:
351: -includedir | --includedir | --includedi | --included | --include \
352: | --includ | --inclu | --incl | --inc)
353: ac_prev=includedir ;;
354: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
355: | --includ=* | --inclu=* | --incl=* | --inc=*)
356: includedir="$ac_optarg" ;;
357:
358: -infodir | --infodir | --infodi | --infod | --info | --inf)
359: ac_prev=infodir ;;
360: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
361: infodir="$ac_optarg" ;;
362:
363: -libdir | --libdir | --libdi | --libd)
364: ac_prev=libdir ;;
365: -libdir=* | --libdir=* | --libdi=* | --libd=*)
366: libdir="$ac_optarg" ;;
367:
368: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
369: | --libexe | --libex | --libe)
370: ac_prev=libexecdir ;;
371: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
372: | --libexe=* | --libex=* | --libe=*)
373: libexecdir="$ac_optarg" ;;
374:
375: -localstatedir | --localstatedir | --localstatedi | --localstated \
376: | --localstate | --localstat | --localsta | --localst \
377: | --locals | --local | --loca | --loc | --lo)
378: ac_prev=localstatedir ;;
379: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
380: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
381: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
382: localstatedir="$ac_optarg" ;;
383:
384: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
385: ac_prev=mandir ;;
386: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
387: mandir="$ac_optarg" ;;
388:
389: -nfp | --nfp | --nf)
390: # Obsolete; use --without-fp.
391: with_fp=no ;;
392:
393: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
394: | --no-cr | --no-c)
395: no_create=yes ;;
396:
397: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
398: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
399: no_recursion=yes ;;
400:
401: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
402: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
403: | --oldin | --oldi | --old | --ol | --o)
404: ac_prev=oldincludedir ;;
405: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
406: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
407: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
408: oldincludedir="$ac_optarg" ;;
409:
410: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
411: ac_prev=prefix ;;
412: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
413: prefix="$ac_optarg" ;;
414:
415: -program-prefix | --program-prefix | --program-prefi | --program-pref \
416: | --program-pre | --program-pr | --program-p)
417: ac_prev=program_prefix ;;
418: -program-prefix=* | --program-prefix=* | --program-prefi=* \
419: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
420: program_prefix="$ac_optarg" ;;
421:
422: -program-suffix | --program-suffix | --program-suffi | --program-suff \
423: | --program-suf | --program-su | --program-s)
424: ac_prev=program_suffix ;;
425: -program-suffix=* | --program-suffix=* | --program-suffi=* \
426: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
427: program_suffix="$ac_optarg" ;;
428:
429: -program-transform-name | --program-transform-name \
430: | --program-transform-nam | --program-transform-na \
431: | --program-transform-n | --program-transform- \
432: | --program-transform | --program-transfor \
433: | --program-transfo | --program-transf \
434: | --program-trans | --program-tran \
435: | --progr-tra | --program-tr | --program-t)
436: ac_prev=program_transform_name ;;
437: -program-transform-name=* | --program-transform-name=* \
438: | --program-transform-nam=* | --program-transform-na=* \
439: | --program-transform-n=* | --program-transform-=* \
440: | --program-transform=* | --program-transfor=* \
441: | --program-transfo=* | --program-transf=* \
442: | --program-trans=* | --program-tran=* \
443: | --progr-tra=* | --program-tr=* | --program-t=*)
444: program_transform_name="$ac_optarg" ;;
445:
446: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
447: | -silent | --silent | --silen | --sile | --sil)
448: silent=yes ;;
449:
450: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
451: ac_prev=sbindir ;;
452: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
453: | --sbi=* | --sb=*)
454: sbindir="$ac_optarg" ;;
455:
456: -sharedstatedir | --sharedstatedir | --sharedstatedi \
457: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
458: | --sharedst | --shareds | --shared | --share | --shar \
459: | --sha | --sh)
460: ac_prev=sharedstatedir ;;
461: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
462: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
463: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
464: | --sha=* | --sh=*)
465: sharedstatedir="$ac_optarg" ;;
466:
467: -site | --site | --sit)
468: ac_prev=site ;;
469: -site=* | --site=* | --sit=*)
470: site="$ac_optarg" ;;
471:
472: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
473: ac_prev=srcdir ;;
474: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
475: srcdir="$ac_optarg" ;;
476:
477: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
478: | --syscon | --sysco | --sysc | --sys | --sy)
479: ac_prev=sysconfdir ;;
480: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
481: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
482: sysconfdir="$ac_optarg" ;;
483:
484: -target | --target | --targe | --targ | --tar | --ta | --t)
485: ac_prev=target ;;
486: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
487: target="$ac_optarg" ;;
488:
489: -v | -verbose | --verbose | --verbos | --verbo | --verb)
490: verbose=yes ;;
491:
492: -version | --version | --versio | --versi | --vers)
493: echo "configure generated by autoconf version 2.12"
494: exit 0 ;;
495:
496: -with-* | --with-*)
497: ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
498: # Reject names that are not valid shell variable names.
499: if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
500: { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
501: fi
502: ac_package=`echo $ac_package| sed 's/-/_/g'`
503: case "$ac_option" in
504: *=*) ;;
505: *) ac_optarg=yes ;;
506: esac
507: eval "with_${ac_package}='$ac_optarg'" ;;
508:
509: -without-* | --without-*)
510: ac_package=`echo $ac_option|sed -e 's/-*without-//'`
511: # Reject names that are not valid shell variable names.
512: if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
513: { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
514: fi
515: ac_package=`echo $ac_package| sed 's/-/_/g'`
516: eval "with_${ac_package}=no" ;;
517:
518: --x)
519: # Obsolete; use --with-x.
520: with_x=yes ;;
521:
522: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
523: | --x-incl | --x-inc | --x-in | --x-i)
524: ac_prev=x_includes ;;
525: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
526: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
527: x_includes="$ac_optarg" ;;
528:
529: -x-libraries | --x-libraries | --x-librarie | --x-librari \
530: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
531: ac_prev=x_libraries ;;
532: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
533: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
534: x_libraries="$ac_optarg" ;;
535:
536: -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
537: ;;
538:
539: *)
540: if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
541: echo "configure: warning: $ac_option: invalid host type" 1>&2
542: fi
543: if test "x$nonopt" != xNONE; then
544: { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
545: fi
546: nonopt="$ac_option"
547: ;;
548:
549: esac
550: done
551:
552: if test -n "$ac_prev"; then
553: { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
554: fi
555:
556: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
557:
558: # File descriptor usage:
559: # 0 standard input
560: # 1 file creation
561: # 2 errors and warnings
562: # 3 some systems may open it to /dev/tty
563: # 4 used on the Kubota Titan
564: # 6 checking for... messages and results
565: # 5 compiler messages saved in config.log
566: if test "$silent" = yes; then
567: exec 6>/dev/null
568: else
569: exec 6>&1
570: fi
571: exec 5>./config.log
572:
573: echo "\
574: This file contains any messages produced by compilers while
575: running configure, to aid debugging if configure makes a mistake.
576: " 1>&5
577:
578: # Strip out --no-create and --no-recursion so they do not pile up.
579: # Also quote any args containing shell metacharacters.
580: ac_configure_args=
581: for ac_arg
582: do
583: case "$ac_arg" in
584: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
585: | --no-cr | --no-c) ;;
586: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
587: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
588: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
589: ac_configure_args="$ac_configure_args '$ac_arg'" ;;
590: *) ac_configure_args="$ac_configure_args $ac_arg" ;;
591: esac
592: done
593:
594: # NLS nuisances.
595: # Only set these to C if already set. These must not be set unconditionally
596: # because not all systems understand e.g. LANG=C (notably SCO).
597: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
598: # Non-C LC_CTYPE values break the ctype check.
599: if test "${LANG+set}" = set; then LANG=C; export LANG; fi
600: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
601: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
602: if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
603:
604: # confdefs.h avoids OS command line length limits that DEFS can exceed.
605: rm -rf conftest* confdefs.h
606: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
607: echo > confdefs.h
608:
609: # A filename unique to this package, relative to the directory that
610: # configure is in, which we can look for to find out if srcdir is correct.
611: ac_unique_file=i386/i386asm.sym
612:
613: # Find the source files, if location was not specified.
614: if test -z "$srcdir"; then
615: ac_srcdir_defaulted=yes
616: # Try the directory containing this script, then its parent.
617: ac_prog=$0
618: ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
619: test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
620: srcdir=$ac_confdir
621: if test ! -r $srcdir/$ac_unique_file; then
622: srcdir=..
623: fi
624: else
625: ac_srcdir_defaulted=no
626: fi
627: if test ! -r $srcdir/$ac_unique_file; then
628: if test "$ac_srcdir_defaulted" = yes; then
629: { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
630: else
631: { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
632: fi
633: fi
634: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
635:
636: # Prefer explicitly selected file to automatically selected ones.
637: if test -z "$CONFIG_SITE"; then
638: if test "x$prefix" != xNONE; then
639: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
640: else
641: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
642: fi
643: fi
644: for ac_site_file in $CONFIG_SITE; do
645: if test -r "$ac_site_file"; then
646: echo "loading site script $ac_site_file"
647: . "$ac_site_file"
648: fi
649: done
650:
651: if test -r "$cache_file"; then
652: echo "loading cache $cache_file"
653: . $cache_file
654: else
655: echo "creating cache $cache_file"
656: > $cache_file
657: fi
658:
659: ac_ext=c
660: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
661: ac_cpp='$CPP $CPPFLAGS'
662: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
663: ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
664: cross_compiling=$ac_cv_prog_cc_cross
665:
666: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
667: # Stardent Vistra SVR4 grep lacks -e, says [email protected].
668: if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
669: ac_n= ac_c='
670: ' ac_t=' '
671: else
672: ac_n=-n ac_c= ac_t=
673: fi
674: else
675: ac_n= ac_c='\c' ac_t=
676: fi
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
1.1.1.2 ! root 699:
1.1 root 700: # Checking for alias 3c501
701: # Check whether --enable-3c501 or --disable-3c501 was given.
702: if test "${enable_3c501+set}" = set; then
703: enableval="$enable_3c501"
704: enable_el1="$enable_3c501"
705:
706: fi
707:
708:
709: # Checking for alias 3c503
710: # Check whether --enable-3c503 or --disable-3c503 was given.
711: if test "${enable_3c503+set}" = set; then
712: enableval="$enable_3c503"
713: enable_el2="$enable_3c503"
714:
715: fi
716:
717:
718: # Checking for alias 3c59x
719: # Check whether --enable-3c59x or --disable-3c59x was given.
720: if test "${enable_3c59x+set}" = set; then
721: enableval="$enable_3c59x"
722: enable_vortex="$enable_3c59x"
723:
724: fi
725:
726:
727: # Checking for alias hpj2577
728: # Check whether --enable-hpj2577 or --disable-hpj2577 was given.
729: if test "${enable_hpj2577+set}" = set; then
730: enableval="$enable_hpj2577"
731: enable_hp100="$enable_hpj2577"
732:
733: fi
734:
735:
736: # Checking for alias hpj2573
737: # Check whether --enable-hpj2573 or --disable-hpj2573 was given.
738: if test "${enable_hpj2573+set}" = set; then
739: enableval="$enable_hpj2573"
740: enable_hp100="$enable_hpj2573"
741:
742: fi
743:
744:
745: # Checking for alias hpj2585
746: # Check whether --enable-hpj2585 or --disable-hpj2585 was given.
747: if test "${enable_hpj2585+set}" = set; then
748: enableval="$enable_hpj2585"
749: enable_hp100="$enable_hpj2585"
750:
751: fi
752:
753:
754: # Checking for alias hp27248b
755: # Check whether --enable-hp27248b or --disable-hp27248b was given.
756: if test "${enable_hp27248b+set}" = set; then
757: enableval="$enable_hp27248b"
758: enable_hp100="$enable_hp27248b"
759:
760: fi
761:
762:
763: # Checking for alias eth32
764: # Check whether --enable-eth32 or --disable-eth32 was given.
765: if test "${enable_eth32+set}" = set; then
766: enableval="$enable_eth32"
767: enable_eth16i="$enable_eth32"
768:
769: fi
770:
771:
772: # Checking for alias znote
773: # Check whether --enable-znote or --disable-znote was given.
774: if test "${enable_znote+set}" = set; then
775: enableval="$enable_znote"
776: enable_znet="$enable_znote"
777:
778: fi
779:
780:
781: # Checking for alias de100
782: # Check whether --enable-de100 or --disable-de100 was given.
783: if test "${enable_de100+set}" = set; then
784: enableval="$enable_de100"
785: enable_depca="$enable_de100"
786:
787: fi
788:
789:
790: # Checking for alias de101
791: # Check whether --enable-de101 or --disable-de101 was given.
792: if test "${enable_de101+set}" = set; then
793: enableval="$enable_de101"
794: enable_depca="$enable_de101"
795:
796: fi
797:
798:
799: # Checking for alias de200
800: # Check whether --enable-de200 or --disable-de200 was given.
801: if test "${enable_de200+set}" = set; then
802: enableval="$enable_de200"
803: enable_depca="$enable_de200"
804:
805: fi
806:
807:
808: # Checking for alias de201
809: # Check whether --enable-de201 or --disable-de201 was given.
810: if test "${enable_de201+set}" = set; then
811: enableval="$enable_de201"
812: enable_depca="$enable_de201"
813:
814: fi
815:
816:
817: # Checking for alias de202
818: # Check whether --enable-de202 or --disable-de202 was given.
819: if test "${enable_de202+set}" = set; then
820: enableval="$enable_de202"
821: enable_depca="$enable_de202"
822:
823: fi
824:
825:
826: # Checking for alias de210
827: # Check whether --enable-de210 or --disable-de210 was given.
828: if test "${enable_de210+set}" = set; then
829: enableval="$enable_de210"
830: enable_depca="$enable_de210"
831:
832: fi
833:
834:
835: # Checking for alias de422
836: # Check whether --enable-de422 or --disable-de422 was given.
837: if test "${enable_de422+set}" = set; then
838: enableval="$enable_de422"
839: enable_depca="$enable_de422"
840:
841: fi
842:
843:
844: # Checking for alias de203
845: # Check whether --enable-de203 or --disable-de203 was given.
846: if test "${enable_de203+set}" = set; then
847: enableval="$enable_de203"
848: enable_ewrk3="$enable_de203"
849:
850: fi
851:
852:
853: # Checking for alias de204
854: # Check whether --enable-de204 or --disable-de204 was given.
855: if test "${enable_de204+set}" = set; then
856: enableval="$enable_de204"
857: enable_ewrk3="$enable_de204"
858:
859: fi
860:
861:
862: # Checking for alias de205
863: # Check whether --enable-de205 or --disable-de205 was given.
864: if test "${enable_de205+set}" = set; then
865: enableval="$enable_de205"
866: enable_ewrk3="$enable_de205"
867:
868: fi
869:
870:
871: # Checking for alias de425
872: # Check whether --enable-de425 or --disable-de425 was given.
873: if test "${enable_de425+set}" = set; then
874: enableval="$enable_de425"
875: enable_de4x5="$enable_de425"
876:
877: fi
878:
879:
880: # Checking for alias de434
881: # Check whether --enable-de434 or --disable-de434 was given.
882: if test "${enable_de434+set}" = set; then
883: enableval="$enable_de434"
884: enable_de4x5="$enable_de434"
885:
886: fi
887:
888:
889: # Checking for alias de435
890: # Check whether --enable-de435 or --disable-de435 was given.
891: if test "${enable_de435+set}" = set; then
892: enableval="$enable_de435"
893: enable_de4x5="$enable_de435"
894:
895: fi
896:
897:
898: # Checking for alias de500
899: # Check whether --enable-de500 or --disable-de500 was given.
900: if test "${enable_de500+set}" = set; then
901: enableval="$enable_de500"
902: enable_de4x5="$enable_de500"
903:
904: fi
905:
906:
907: # Checking for alias 3c507
908: # Check whether --enable-3c507 or --disable-3c507 was given.
909: if test "${enable_3c507+set}" = set; then
910: enableval="$enable_3c507"
911: enable_el16="$enable_3c507"
912:
913: fi
914:
915:
916: # Checking for alias 3c505
917: # Check whether --enable-3c505 or --disable-3c505 was given.
918: if test "${enable_3c505+set}" = set; then
919: enableval="$enable_3c505"
920: enable_elplus="$enable_3c505"
921:
922: fi
923:
924:
925:
926:
927:
928: driver_class_scsi_option=CONFIG_SCSI
929: driver_class_scsi_files="constants.o hosts.o scsi.o scsi_debug.o scsi_ioctl.o scsi_proc.o scsicam.o sd.o sd_ioctl.o sr.o sr_ioctl.o"
930:
931:
932:
933: driver_class_net_option=CONFIG_INET
934: driver_class_net_files="linux_net.o Space.o dev.o net_init.o"
935:
936:
937:
938:
939:
940:
941:
942: # Checking for device driver option floppy
943: # Check whether --enable-floppy or --disable-floppy was given.
944: if test "${enable_floppy+set}" = set; then
945: enableval="$enable_floppy"
946: cat >> confdefs.h <<\EOF
947: #define CONFIG_BLK_DEV_FD 1
948: EOF
949:
950: device_drivers="$device_drivers floppy.o"
1.1.1.2 ! root 951: if test "${driver_class__selected+set}" != set; then
1.1 root 952: driver_class__selected=yes
953: cat >> confdefs.h <<EOF
954: #define $driver_class__option 1
955: EOF
956:
957: device_drivers="$device_drivers $driver_class__files"
958: fi
959:
960: fi
961:
962:
963: # Checking for device driver option ide
964: # Check whether --enable-ide or --disable-ide was given.
965: if test "${enable_ide+set}" = set; then
966: enableval="$enable_ide"
967: cat >> confdefs.h <<\EOF
968: #define CONFIG_BLK_DEV_IDE 1
969: EOF
970:
971: device_drivers="$device_drivers cmd640.o ide-cd.o ide.o rz1000.o triton.o"
1.1.1.2 ! root 972: if test "${driver_class__selected+set}" != set; then
1.1 root 973: driver_class__selected=yes
974: cat >> confdefs.h <<EOF
975: #define $driver_class__option 1
976: EOF
977:
978: device_drivers="$device_drivers $driver_class__files"
979: fi
980:
981: fi
982:
983:
984:
985:
986:
987: # Checking for device driver option advansys
988: # Check whether --enable-advansys or --disable-advansys was given.
989: if test "${enable_advansys+set}" = set; then
990: enableval="$enable_advansys"
991: cat >> confdefs.h <<\EOF
992: #define CONFIG_SCSI_ADVANSYS 1
993: EOF
994:
995: device_drivers="$device_drivers advansys.o"
1.1.1.2 ! root 996: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 997: driver_class_scsi_selected=yes
998: cat >> confdefs.h <<EOF
999: #define $driver_class_scsi_option 1
1000: EOF
1001:
1002: device_drivers="$device_drivers $driver_class_scsi_files"
1003: fi
1004:
1005: fi
1006:
1007:
1008: # Checking for device driver option buslogic
1009: # Check whether --enable-buslogic or --disable-buslogic was given.
1010: if test "${enable_buslogic+set}" = set; then
1011: enableval="$enable_buslogic"
1012: cat >> confdefs.h <<\EOF
1013: #define CONFIG_SCSI_BUSLOGIC 1
1014: EOF
1015:
1016: device_drivers="$device_drivers BusLogic.o"
1.1.1.2 ! root 1017: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1018: driver_class_scsi_selected=yes
1019: cat >> confdefs.h <<EOF
1020: #define $driver_class_scsi_option 1
1021: EOF
1022:
1023: device_drivers="$device_drivers $driver_class_scsi_files"
1024: fi
1025:
1026: fi
1027:
1028:
1029: # Checking for device driver option u1434f
1030: # Check whether --enable-u1434f or --disable-u1434f was given.
1031: if test "${enable_u1434f+set}" = set; then
1032: enableval="$enable_u1434f"
1033: cat >> confdefs.h <<\EOF
1034: #define CONFIG_SCSI_U14_34F 1
1035: EOF
1036:
1037: device_drivers="$device_drivers u14-34f.o"
1.1.1.2 ! root 1038: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1039: driver_class_scsi_selected=yes
1040: cat >> confdefs.h <<EOF
1041: #define $driver_class_scsi_option 1
1042: EOF
1043:
1044: device_drivers="$device_drivers $driver_class_scsi_files"
1045: fi
1046:
1047: fi
1048:
1049:
1050: # Checking for device driver option ultrastor
1051: # Check whether --enable-ultrastor or --disable-ultrastor was given.
1052: if test "${enable_ultrastor+set}" = set; then
1053: enableval="$enable_ultrastor"
1054: cat >> confdefs.h <<\EOF
1055: #define CONFIG_SCSI_ULTRASTOR 1
1056: EOF
1057:
1058: device_drivers="$device_drivers ultrastor.o"
1.1.1.2 ! root 1059: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1060: driver_class_scsi_selected=yes
1061: cat >> confdefs.h <<EOF
1062: #define $driver_class_scsi_option 1
1063: EOF
1064:
1065: device_drivers="$device_drivers $driver_class_scsi_files"
1066: fi
1067:
1068: fi
1069:
1070:
1071: # Checking for device driver option aha152x
1072: # Check whether --enable-aha152x or --disable-aha152x was given.
1073: if test "${enable_aha152x+set}" = set; then
1074: enableval="$enable_aha152x"
1075: cat >> confdefs.h <<\EOF
1076: #define CONFIG_SCSI_AHA152X 1
1077: EOF
1078:
1079: device_drivers="$device_drivers aha152x.o"
1.1.1.2 ! root 1080: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1081: driver_class_scsi_selected=yes
1082: cat >> confdefs.h <<EOF
1083: #define $driver_class_scsi_option 1
1084: EOF
1085:
1086: device_drivers="$device_drivers $driver_class_scsi_files"
1087: fi
1088:
1089: fi
1090:
1091:
1092: # Checking for device driver option aha1542
1093: # Check whether --enable-aha1542 or --disable-aha1542 was given.
1094: if test "${enable_aha1542+set}" = set; then
1095: enableval="$enable_aha1542"
1096: cat >> confdefs.h <<\EOF
1097: #define CONFIG_SCSI_AHA1542 1
1098: EOF
1099:
1100: device_drivers="$device_drivers aha1542.o"
1.1.1.2 ! root 1101: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1102: driver_class_scsi_selected=yes
1103: cat >> confdefs.h <<EOF
1104: #define $driver_class_scsi_option 1
1105: EOF
1106:
1107: device_drivers="$device_drivers $driver_class_scsi_files"
1108: fi
1109:
1110: fi
1111:
1112:
1113: # Checking for device driver option aha1740
1114: # Check whether --enable-aha1740 or --disable-aha1740 was given.
1115: if test "${enable_aha1740+set}" = set; then
1116: enableval="$enable_aha1740"
1117: cat >> confdefs.h <<\EOF
1118: #define CONFIG_SCSI_AHA1740 1
1119: EOF
1120:
1121: device_drivers="$device_drivers aha1740.o"
1.1.1.2 ! root 1122: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1123: driver_class_scsi_selected=yes
1124: cat >> confdefs.h <<EOF
1125: #define $driver_class_scsi_option 1
1126: EOF
1127:
1128: device_drivers="$device_drivers $driver_class_scsi_files"
1129: fi
1130:
1131: fi
1132:
1133:
1134: # Checking for device driver option aic7xxx
1135: # Check whether --enable-aic7xxx or --disable-aic7xxx was given.
1136: if test "${enable_aic7xxx+set}" = set; then
1137: enableval="$enable_aic7xxx"
1138: cat >> confdefs.h <<\EOF
1139: #define CONFIG_SCSI_AIC7XXX 1
1140: EOF
1141:
1142: device_drivers="$device_drivers aic7xxx.o"
1.1.1.2 ! root 1143: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1144: driver_class_scsi_selected=yes
1145: cat >> confdefs.h <<EOF
1146: #define $driver_class_scsi_option 1
1147: EOF
1148:
1149: device_drivers="$device_drivers $driver_class_scsi_files"
1150: fi
1151:
1152: fi
1153:
1154:
1155: # Checking for device driver option futuredomain
1156: # Check whether --enable-futuredomain or --disable-futuredomain was given.
1157: if test "${enable_futuredomain+set}" = set; then
1158: enableval="$enable_futuredomain"
1159: cat >> confdefs.h <<\EOF
1160: #define CONFIG_SCSI_FUTURE_DOMAIN 1
1161: EOF
1162:
1163: device_drivers="$device_drivers fdomain.o"
1.1.1.2 ! root 1164: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1165: driver_class_scsi_selected=yes
1166: cat >> confdefs.h <<EOF
1167: #define $driver_class_scsi_option 1
1168: EOF
1169:
1170: device_drivers="$device_drivers $driver_class_scsi_files"
1171: fi
1172:
1173: fi
1174:
1175:
1176: # Checking for device driver option in2000
1177: # Check whether --enable-in2000 or --disable-in2000 was given.
1178: if test "${enable_in2000+set}" = set; then
1179: enableval="$enable_in2000"
1180: cat >> confdefs.h <<\EOF
1181: #define CONFIG_SCSI_IN2000 1
1182: EOF
1183:
1184: device_drivers="$device_drivers in2000.o"
1.1.1.2 ! root 1185: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1186: driver_class_scsi_selected=yes
1187: cat >> confdefs.h <<EOF
1188: #define $driver_class_scsi_option 1
1189: EOF
1190:
1191: device_drivers="$device_drivers $driver_class_scsi_files"
1192: fi
1193:
1194: fi
1195:
1196:
1197: # Checking for device driver option ncr5380
1198: # Check whether --enable-ncr5380 or --disable-ncr5380 was given.
1199: if test "${enable_ncr5380+set}" = set; then
1200: enableval="$enable_ncr5380"
1201: cat >> confdefs.h <<\EOF
1202: #define CONFIG_SCSI_GENERIC_NCR5380 1
1203: EOF
1204:
1205: device_drivers="$device_drivers g_NCR5380.o"
1.1.1.2 ! root 1206: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1207: driver_class_scsi_selected=yes
1208: cat >> confdefs.h <<EOF
1209: #define $driver_class_scsi_option 1
1210: EOF
1211:
1212: device_drivers="$device_drivers $driver_class_scsi_files"
1213: fi
1214:
1215: fi
1216:
1217:
1218: # Checking for device driver option ncr53c406a
1219: # Check whether --enable-ncr53c406a or --disable-ncr53c406a was given.
1220: if test "${enable_ncr53c406a+set}" = set; then
1221: enableval="$enable_ncr53c406a"
1222: cat >> confdefs.h <<\EOF
1223: #define CONFIG_SCSI_NCR53C406A 1
1224: EOF
1225:
1226: device_drivers="$device_drivers NCR53c406a.o"
1.1.1.2 ! root 1227: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1228: driver_class_scsi_selected=yes
1229: cat >> confdefs.h <<EOF
1230: #define $driver_class_scsi_option 1
1231: EOF
1232:
1233: device_drivers="$device_drivers $driver_class_scsi_files"
1234: fi
1235:
1236: fi
1237:
1238:
1239: # Checking for device driver option qlogic
1240: # Check whether --enable-qlogic or --disable-qlogic was given.
1241: if test "${enable_qlogic+set}" = set; then
1242: enableval="$enable_qlogic"
1243: cat >> confdefs.h <<\EOF
1244: #define CONFIG_SCSI_QLOGIC 1
1245: EOF
1246:
1247: device_drivers="$device_drivers qlogic.o"
1.1.1.2 ! root 1248: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1249: driver_class_scsi_selected=yes
1250: cat >> confdefs.h <<EOF
1251: #define $driver_class_scsi_option 1
1252: EOF
1253:
1254: device_drivers="$device_drivers $driver_class_scsi_files"
1255: fi
1256:
1257: fi
1258:
1259:
1260: # Checking for device driver option pas16
1261: # Check whether --enable-pas16 or --disable-pas16 was given.
1262: if test "${enable_pas16+set}" = set; then
1263: enableval="$enable_pas16"
1264: cat >> confdefs.h <<\EOF
1265: #define CONFIG_SCSI_PASS16 1
1266: EOF
1267:
1268: device_drivers="$device_drivers pas16.o"
1.1.1.2 ! root 1269: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1270: driver_class_scsi_selected=yes
1271: cat >> confdefs.h <<EOF
1272: #define $driver_class_scsi_option 1
1273: EOF
1274:
1275: device_drivers="$device_drivers $driver_class_scsi_files"
1276: fi
1277:
1278: fi
1279:
1280:
1281: # Checking for device driver option seagate
1282: # Check whether --enable-seagate or --disable-seagate was given.
1283: if test "${enable_seagate+set}" = set; then
1284: enableval="$enable_seagate"
1285: cat >> confdefs.h <<\EOF
1286: #define CONFIG_SCSI_SEAGATE 1
1287: EOF
1288:
1289: device_drivers="$device_drivers seagate.o"
1.1.1.2 ! root 1290: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1291: driver_class_scsi_selected=yes
1292: cat >> confdefs.h <<EOF
1293: #define $driver_class_scsi_option 1
1294: EOF
1295:
1296: device_drivers="$device_drivers $driver_class_scsi_files"
1297: fi
1298:
1299: fi
1300:
1301:
1302: # Checking for device driver option t128
1303: # Check whether --enable-t128 or --disable-t128 was given.
1304: if test "${enable_t128+set}" = set; then
1305: enableval="$enable_t128"
1306: cat >> confdefs.h <<\EOF
1307: #define CONFIG_SCSI_T128 1
1308: EOF
1309:
1310: device_drivers="$device_drivers t128.o"
1.1.1.2 ! root 1311: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1312: driver_class_scsi_selected=yes
1313: cat >> confdefs.h <<EOF
1314: #define $driver_class_scsi_option 1
1315: EOF
1316:
1317: device_drivers="$device_drivers $driver_class_scsi_files"
1318: fi
1319:
1320: fi
1321:
1322:
1323: # Checking for device driver option ncr53c7xx
1324: # Check whether --enable-ncr53c7xx or --disable-ncr53c7xx was given.
1325: if test "${enable_ncr53c7xx+set}" = set; then
1326: enableval="$enable_ncr53c7xx"
1327: cat >> confdefs.h <<\EOF
1328: #define CONFIG_SCSI_NCR53C7xx 1
1329: EOF
1330:
1.1.1.2 ! root 1331: device_drivers="$device_drivers 53c78xx.o"
! 1332: if test "${driver_class_scsi_selected+set}" != set; then
! 1333: driver_class_scsi_selected=yes
1.1 root 1334: cat >> confdefs.h <<EOF
1.1.1.2 ! root 1335: #define $driver_class_scsi_option 1
1.1 root 1336: EOF
1337:
1.1.1.2 ! root 1338: device_drivers="$device_drivers $driver_class_scsi_files"
1.1 root 1339: fi
1340:
1341: fi
1342:
1343:
1344: # Checking for device driver option eatadma
1345: # Check whether --enable-eatadma or --disable-eatadma was given.
1346: if test "${enable_eatadma+set}" = set; then
1347: enableval="$enable_eatadma"
1348: cat >> confdefs.h <<\EOF
1349: #define CONFIG_SCSI_EATA_DMA 1
1350: EOF
1351:
1352: device_drivers="$device_drivers eata_dma.o"
1.1.1.2 ! root 1353: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1354: driver_class_scsi_selected=yes
1355: cat >> confdefs.h <<EOF
1356: #define $driver_class_scsi_option 1
1357: EOF
1358:
1359: device_drivers="$device_drivers $driver_class_scsi_files"
1360: fi
1361:
1362: fi
1363:
1364:
1365: # Checking for device driver option eatapio
1366: # Check whether --enable-eatapio or --disable-eatapio was given.
1367: if test "${enable_eatapio+set}" = set; then
1368: enableval="$enable_eatapio"
1369: cat >> confdefs.h <<\EOF
1370: #define CONFIG_SCSI_EATA_PIO 1
1371: EOF
1372:
1373: device_drivers="$device_drivers eata_pio.o"
1.1.1.2 ! root 1374: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1375: driver_class_scsi_selected=yes
1376: cat >> confdefs.h <<EOF
1377: #define $driver_class_scsi_option 1
1378: EOF
1379:
1380: device_drivers="$device_drivers $driver_class_scsi_files"
1381: fi
1382:
1383: fi
1384:
1385:
1386: # Checking for device driver option wd7000
1387: # Check whether --enable-wd7000 or --disable-wd7000 was given.
1388: if test "${enable_wd7000+set}" = set; then
1389: enableval="$enable_wd7000"
1390: cat >> confdefs.h <<\EOF
1391: #define CONFIG_SCSI_7000FASST 1
1392: EOF
1393:
1394: device_drivers="$device_drivers wd7000.o"
1.1.1.2 ! root 1395: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1396: driver_class_scsi_selected=yes
1397: cat >> confdefs.h <<EOF
1398: #define $driver_class_scsi_option 1
1399: EOF
1400:
1401: device_drivers="$device_drivers $driver_class_scsi_files"
1402: fi
1403:
1404: fi
1405:
1406:
1407: # Checking for device driver option eata
1408: # Check whether --enable-eata or --disable-eata was given.
1409: if test "${enable_eata+set}" = set; then
1410: enableval="$enable_eata"
1411: cat >> confdefs.h <<\EOF
1412: #define CONFIG_SCSI_EATA 1
1413: EOF
1414:
1415: device_drivers="$device_drivers eata.o"
1.1.1.2 ! root 1416: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1417: driver_class_scsi_selected=yes
1418: cat >> confdefs.h <<EOF
1419: #define $driver_class_scsi_option 1
1420: EOF
1421:
1422: device_drivers="$device_drivers $driver_class_scsi_files"
1423: fi
1424:
1425: fi
1426:
1427:
1428: # Checking for device driver option am53c974
1429: # Check whether --enable-am53c974 or --disable-am53c974 was given.
1430: if test "${enable_am53c974+set}" = set; then
1431: enableval="$enable_am53c974"
1432: cat >> confdefs.h <<\EOF
1433: #define CONFIG_SCSI_AM53C974 1
1434: EOF
1435:
1436: device_drivers="$device_drivers AM53C974.o"
1.1.1.2 ! root 1437: if test "${driver_class_scsi_selected+set}" != set; then
1.1 root 1438: driver_class_scsi_selected=yes
1439: cat >> confdefs.h <<EOF
1440: #define $driver_class_scsi_option 1
1441: EOF
1442:
1443: device_drivers="$device_drivers $driver_class_scsi_files"
1444: fi
1445:
1446: fi
1447:
1448:
1449:
1450:
1451:
1452: # Checking for device driver option ne2000
1453: # Check whether --enable-ne2000 or --disable-ne2000 was given.
1454: if test "${enable_ne2000+set}" = set; then
1455: enableval="$enable_ne2000"
1456: cat >> confdefs.h <<\EOF
1457: #define CONFIG_NE2000 1
1458: EOF
1459:
1460: device_drivers="$device_drivers ne.o 8390.o"
1.1.1.2 ! root 1461: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1462: driver_class_net_selected=yes
1463: cat >> confdefs.h <<EOF
1464: #define $driver_class_net_option 1
1465: EOF
1466:
1467: device_drivers="$device_drivers $driver_class_net_files"
1468: fi
1469:
1470: fi
1471:
1472:
1473: # Checking for device driver option el2
1474: # Check whether --enable-el2 or --disable-el2 was given.
1475: if test "${enable_el2+set}" = set; then
1476: enableval="$enable_el2"
1477: cat >> confdefs.h <<\EOF
1478: #define CONFIG_EL2 1
1479: EOF
1480:
1.1.1.2 ! root 1481: device_drivers="$device_drivers 3c503.o 8390.o"
! 1482: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1483: driver_class_net_selected=yes
1484: cat >> confdefs.h <<EOF
1485: #define $driver_class_net_option 1
1486: EOF
1487:
1488: device_drivers="$device_drivers $driver_class_net_files"
1489: fi
1490:
1491: fi
1492:
1493:
1494: # Checking for device driver option wd80x3
1495: # Check whether --enable-wd80x3 or --disable-wd80x3 was given.
1496: if test "${enable_wd80x3+set}" = set; then
1497: enableval="$enable_wd80x3"
1498: cat >> confdefs.h <<\EOF
1499: #define CONFIG_WD80x3 1
1500: EOF
1501:
1502: device_drivers="$device_drivers wd.o 8390.o"
1.1.1.2 ! root 1503: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1504: driver_class_net_selected=yes
1505: cat >> confdefs.h <<EOF
1506: #define $driver_class_net_option 1
1507: EOF
1508:
1509: device_drivers="$device_drivers $driver_class_net_files"
1510: fi
1511:
1512: fi
1513:
1514:
1515: # Checking for device driver option el1
1516: # Check whether --enable-el1 or --disable-el1 was given.
1517: if test "${enable_el1+set}" = set; then
1518: enableval="$enable_el1"
1519: cat >> confdefs.h <<\EOF
1520: #define CONFIG_EL1 1
1521: EOF
1522:
1523: device_drivers="$device_drivers 3c501.o"
1.1.1.2 ! root 1524: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1525: driver_class_net_selected=yes
1526: cat >> confdefs.h <<EOF
1527: #define $driver_class_net_option 1
1528: EOF
1529:
1530: device_drivers="$device_drivers $driver_class_net_files"
1531: fi
1532:
1533: fi
1534:
1535:
1536: # Checking for device driver option ul
1537: # Check whether --enable-ul or --disable-ul was given.
1538: if test "${enable_ul+set}" = set; then
1539: enableval="$enable_ul"
1540: cat >> confdefs.h <<\EOF
1541: #define CONFIG_ULTRA 1
1542: EOF
1543:
1544: device_drivers="$device_drivers smc-ultra.o 8390.o"
1.1.1.2 ! root 1545: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1546: driver_class_net_selected=yes
1547: cat >> confdefs.h <<EOF
1548: #define $driver_class_net_option 1
1549: EOF
1550:
1551: device_drivers="$device_drivers $driver_class_net_files"
1552: fi
1553:
1554: fi
1555:
1556:
1557: # Checking for device driver option hplanplus
1558: # Check whether --enable-hplanplus or --disable-hplanplus was given.
1559: if test "${enable_hplanplus+set}" = set; then
1560: enableval="$enable_hplanplus"
1561: cat >> confdefs.h <<\EOF
1562: #define CONFIG_HPLAN_PLUS 1
1563: EOF
1564:
1565: device_drivers="$device_drivers hp-plus.o"
1.1.1.2 ! root 1566: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1567: driver_class_net_selected=yes
1568: cat >> confdefs.h <<EOF
1569: #define $driver_class_net_option 1
1570: EOF
1571:
1572: device_drivers="$device_drivers $driver_class_net_files"
1573: fi
1574:
1575: fi
1576:
1577:
1578: # Checking for device driver option hplan
1579: # Check whether --enable-hplan or --disable-hplan was given.
1580: if test "${enable_hplan+set}" = set; then
1581: enableval="$enable_hplan"
1582: cat >> confdefs.h <<\EOF
1583: #define CONFIG_HPLAN 1
1584: EOF
1585:
1586: device_drivers="$device_drivers hp.o 8390.o"
1.1.1.2 ! root 1587: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1588: driver_class_net_selected=yes
1589: cat >> confdefs.h <<EOF
1590: #define $driver_class_net_option 1
1591: EOF
1592:
1593: device_drivers="$device_drivers $driver_class_net_files"
1594: fi
1595:
1596: fi
1597:
1598:
1599: # Checking for device driver option vortex
1600: # Check whether --enable-vortex or --disable-vortex was given.
1601: if test "${enable_vortex+set}" = set; then
1602: enableval="$enable_vortex"
1603: cat >> confdefs.h <<\EOF
1604: #define CONFIG_VORTEX 1
1605: EOF
1606:
1607: device_drivers="$device_drivers 3c59x.o"
1.1.1.2 ! root 1608: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1609: driver_class_net_selected=yes
1610: cat >> confdefs.h <<EOF
1611: #define $driver_class_net_option 1
1612: EOF
1613:
1614: device_drivers="$device_drivers $driver_class_net_files"
1615: fi
1616:
1617: fi
1618:
1619:
1620: # Checking for device driver option seeq8005
1621: # Check whether --enable-seeq8005 or --disable-seeq8005 was given.
1622: if test "${enable_seeq8005+set}" = set; then
1623: enableval="$enable_seeq8005"
1624: cat >> confdefs.h <<\EOF
1625: #define CONFIG_SEEQ8005 1
1626: EOF
1627:
1628: device_drivers="$device_drivers seeq8005.o"
1.1.1.2 ! root 1629: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1630: driver_class_net_selected=yes
1631: cat >> confdefs.h <<EOF
1632: #define $driver_class_net_option 1
1633: EOF
1634:
1635: device_drivers="$device_drivers $driver_class_net_files"
1636: fi
1637:
1638: fi
1639:
1640:
1641: # Checking for device driver option hp100
1642: # Check whether --enable-hp100 or --disable-hp100 was given.
1643: if test "${enable_hp100+set}" = set; then
1644: enableval="$enable_hp100"
1645: cat >> confdefs.h <<\EOF
1646: #define CONFIG_HP100 1
1647: EOF
1648:
1649: device_drivers="$device_drivers hp100.o"
1.1.1.2 ! root 1650: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1651: driver_class_net_selected=yes
1652: cat >> confdefs.h <<EOF
1653: #define $driver_class_net_option 1
1654: EOF
1655:
1656: device_drivers="$device_drivers $driver_class_net_files"
1657: fi
1658:
1659: fi
1660:
1661:
1662: # Checking for device driver option ac3200
1663: # Check whether --enable-ac3200 or --disable-ac3200 was given.
1664: if test "${enable_ac3200+set}" = set; then
1665: enableval="$enable_ac3200"
1666: cat >> confdefs.h <<\EOF
1667: #define CONFIG_AC3200 1
1668: EOF
1669:
1670: device_drivers="$device_drivers ac3200.o 8390.o"
1.1.1.2 ! root 1671: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1672: driver_class_net_selected=yes
1673: cat >> confdefs.h <<EOF
1674: #define $driver_class_net_option 1
1675: EOF
1676:
1677: device_drivers="$device_drivers $driver_class_net_files"
1678: fi
1679:
1680: fi
1681:
1682:
1683: # Checking for device driver option e2100
1684: # Check whether --enable-e2100 or --disable-e2100 was given.
1685: if test "${enable_e2100+set}" = set; then
1686: enableval="$enable_e2100"
1687: cat >> confdefs.h <<\EOF
1688: #define CONFIG_E2100 1
1689: EOF
1690:
1691: device_drivers="$device_drivers e2100.o 8390.o"
1.1.1.2 ! root 1692: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1693: driver_class_net_selected=yes
1694: cat >> confdefs.h <<EOF
1695: #define $driver_class_net_option 1
1696: EOF
1697:
1698: device_drivers="$device_drivers $driver_class_net_files"
1699: fi
1700:
1701: fi
1702:
1703:
1704: # Checking for device driver option at1700
1705: # Check whether --enable-at1700 or --disable-at1700 was given.
1706: if test "${enable_at1700+set}" = set; then
1707: enableval="$enable_at1700"
1708: cat >> confdefs.h <<\EOF
1709: #define CONFIG_AT1700 1
1710: EOF
1711:
1712: device_drivers="$device_drivers at1700.o"
1.1.1.2 ! root 1713: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1714: driver_class_net_selected=yes
1715: cat >> confdefs.h <<EOF
1716: #define $driver_class_net_option 1
1717: EOF
1718:
1719: device_drivers="$device_drivers $driver_class_net_files"
1720: fi
1721:
1722: fi
1723:
1724:
1725: # Checking for device driver option eth16i
1726: # Check whether --enable-eth16i or --disable-eth16i was given.
1727: if test "${enable_eth16i+set}" = set; then
1728: enableval="$enable_eth16i"
1729: cat >> confdefs.h <<\EOF
1730: #define CONFIG_ETH16I 1
1731: EOF
1732:
1733: device_drivers="$device_drivers eth16i.o"
1.1.1.2 ! root 1734: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1735: driver_class_net_selected=yes
1736: cat >> confdefs.h <<EOF
1737: #define $driver_class_net_option 1
1738: EOF
1739:
1740: device_drivers="$device_drivers $driver_class_net_files"
1741: fi
1742:
1743: fi
1744:
1745:
1746: # Checking for device driver option znet
1747: # Check whether --enable-znet or --disable-znet was given.
1748: if test "${enable_znet+set}" = set; then
1749: enableval="$enable_znet"
1750: cat >> confdefs.h <<\EOF
1751: #define CONFIG_ZNET 1
1752: EOF
1753:
1754: device_drivers="$device_drivers znet.o"
1.1.1.2 ! root 1755: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1756: driver_class_net_selected=yes
1757: cat >> confdefs.h <<EOF
1758: #define $driver_class_net_option 1
1759: EOF
1760:
1761: device_drivers="$device_drivers $driver_class_net_files"
1762: fi
1763:
1764: fi
1765:
1766:
1767: # Checking for device driver option eexpress
1768: # Check whether --enable-eexpress or --disable-eexpress was given.
1769: if test "${enable_eexpress+set}" = set; then
1770: enableval="$enable_eexpress"
1771: cat >> confdefs.h <<\EOF
1772: #define CONFIG_EEXPRESS 1
1773: EOF
1774:
1775: device_drivers="$device_drivers eexpress.o"
1.1.1.2 ! root 1776: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1777: driver_class_net_selected=yes
1778: cat >> confdefs.h <<EOF
1779: #define $driver_class_net_option 1
1780: EOF
1781:
1782: device_drivers="$device_drivers $driver_class_net_files"
1783: fi
1784:
1785: fi
1786:
1787:
1788: # Checking for device driver option eexpresspro
1789: # Check whether --enable-eexpresspro or --disable-eexpresspro was given.
1790: if test "${enable_eexpresspro+set}" = set; then
1791: enableval="$enable_eexpresspro"
1792: cat >> confdefs.h <<\EOF
1793: #define CONFIG_EEXPRESS_PRO 1
1794: EOF
1795:
1796: device_drivers="$device_drivers eepro.o"
1.1.1.2 ! root 1797: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1798: driver_class_net_selected=yes
1799: cat >> confdefs.h <<EOF
1800: #define $driver_class_net_option 1
1801: EOF
1802:
1803: device_drivers="$device_drivers $driver_class_net_files"
1804: fi
1805:
1806: fi
1807:
1808:
1809: # Checking for device driver option depca
1810: # Check whether --enable-depca or --disable-depca was given.
1811: if test "${enable_depca+set}" = set; then
1812: enableval="$enable_depca"
1813: cat >> confdefs.h <<\EOF
1814: #define CONFIG_DEPCA 1
1815: EOF
1816:
1817: device_drivers="$device_drivers depca.o"
1.1.1.2 ! root 1818: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1819: driver_class_net_selected=yes
1820: cat >> confdefs.h <<EOF
1821: #define $driver_class_net_option 1
1822: EOF
1823:
1824: device_drivers="$device_drivers $driver_class_net_files"
1825: fi
1826:
1827: fi
1828:
1829:
1830: # Checking for device driver option ewrk3
1831: # Check whether --enable-ewrk3 or --disable-ewrk3 was given.
1832: if test "${enable_ewrk3+set}" = set; then
1833: enableval="$enable_ewrk3"
1834: cat >> confdefs.h <<\EOF
1835: #define CONFIG_EWRK3 1
1836: EOF
1837:
1838: device_drivers="$device_drivers ewrk3.o"
1.1.1.2 ! root 1839: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1840: driver_class_net_selected=yes
1841: cat >> confdefs.h <<EOF
1842: #define $driver_class_net_option 1
1843: EOF
1844:
1845: device_drivers="$device_drivers $driver_class_net_files"
1846: fi
1847:
1848: fi
1849:
1850:
1851: # Checking for device driver option de4x5
1852: # Check whether --enable-de4x5 or --disable-de4x5 was given.
1853: if test "${enable_de4x5+set}" = set; then
1854: enableval="$enable_de4x5"
1855: cat >> confdefs.h <<\EOF
1856: #define CONFIG_DE4X5 1
1857: EOF
1858:
1859: device_drivers="$device_drivers de4x5.o"
1.1.1.2 ! root 1860: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1861: driver_class_net_selected=yes
1862: cat >> confdefs.h <<EOF
1863: #define $driver_class_net_option 1
1864: EOF
1865:
1866: device_drivers="$device_drivers $driver_class_net_files"
1867: fi
1868:
1869: fi
1870:
1871:
1872: # Checking for device driver option apricot
1873: # Check whether --enable-apricot or --disable-apricot was given.
1874: if test "${enable_apricot+set}" = set; then
1875: enableval="$enable_apricot"
1876: cat >> confdefs.h <<\EOF
1877: #define CONFIG_APRICOT 1
1878: EOF
1879:
1880: device_drivers="$device_drivers apricot.o"
1.1.1.2 ! root 1881: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1882: driver_class_net_selected=yes
1883: cat >> confdefs.h <<EOF
1884: #define $driver_class_net_option 1
1885: EOF
1886:
1887: device_drivers="$device_drivers $driver_class_net_files"
1888: fi
1889:
1890: fi
1891:
1892:
1893: # Checking for device driver option wavelan
1894: # Check whether --enable-wavelan or --disable-wavelan was given.
1895: if test "${enable_wavelan+set}" = set; then
1896: enableval="$enable_wavelan"
1897: cat >> confdefs.h <<\EOF
1898: #define CONFIG_WAVELAN 1
1899: EOF
1900:
1901: device_drivers="$device_drivers wavelan.o"
1.1.1.2 ! root 1902: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1903: driver_class_net_selected=yes
1904: cat >> confdefs.h <<EOF
1905: #define $driver_class_net_option 1
1906: EOF
1907:
1908: device_drivers="$device_drivers $driver_class_net_files"
1909: fi
1910:
1911: fi
1912:
1913:
1914: # Checking for device driver option el16
1915: # Check whether --enable-el16 or --disable-el16 was given.
1916: if test "${enable_el16+set}" = set; then
1917: enableval="$enable_el16"
1918: cat >> confdefs.h <<\EOF
1919: #define CONFIG_EL16 1
1920: EOF
1921:
1922: device_drivers="$device_drivers 3c507.o"
1.1.1.2 ! root 1923: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1924: driver_class_net_selected=yes
1925: cat >> confdefs.h <<EOF
1926: #define $driver_class_net_option 1
1927: EOF
1928:
1929: device_drivers="$device_drivers $driver_class_net_files"
1930: fi
1931:
1932: fi
1933:
1934:
1935: # Checking for device driver option elplus
1936: # Check whether --enable-elplus or --disable-elplus was given.
1937: if test "${enable_elplus+set}" = set; then
1938: enableval="$enable_elplus"
1939: cat >> confdefs.h <<\EOF
1940: #define CONFIG_ELPLUS 1
1941: EOF
1942:
1943: device_drivers="$device_drivers 3c505.o"
1.1.1.2 ! root 1944: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1945: driver_class_net_selected=yes
1946: cat >> confdefs.h <<EOF
1947: #define $driver_class_net_option 1
1948: EOF
1949:
1950: device_drivers="$device_drivers $driver_class_net_files"
1951: fi
1952:
1953: fi
1954:
1955:
1956: # Checking for device driver option de600
1957: # Check whether --enable-de600 or --disable-de600 was given.
1958: if test "${enable_de600+set}" = set; then
1959: enableval="$enable_de600"
1960: cat >> confdefs.h <<\EOF
1961: #define CONFIG_DE600 1
1962: EOF
1963:
1964: device_drivers="$device_drivers de600.o"
1.1.1.2 ! root 1965: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1966: driver_class_net_selected=yes
1967: cat >> confdefs.h <<EOF
1968: #define $driver_class_net_option 1
1969: EOF
1970:
1971: device_drivers="$device_drivers $driver_class_net_files"
1972: fi
1973:
1974: fi
1975:
1976:
1977: # Checking for device driver option de620
1978: # Check whether --enable-de620 or --disable-de620 was given.
1979: if test "${enable_de620+set}" = set; then
1980: enableval="$enable_de620"
1981: cat >> confdefs.h <<\EOF
1982: #define CONFIG_DE620 1
1983: EOF
1984:
1985: device_drivers="$device_drivers de620.o"
1.1.1.2 ! root 1986: if test "${driver_class_net_selected+set}" != set; then
1.1 root 1987: driver_class_net_selected=yes
1988: cat >> confdefs.h <<EOF
1989: #define $driver_class_net_option 1
1990: EOF
1991:
1992: device_drivers="$device_drivers $driver_class_net_files"
1993: fi
1994:
1995: fi
1996:
1997:
1998: # Checking for device driver option skg16
1999: # Check whether --enable-skg16 or --disable-skg16 was given.
2000: if test "${enable_skg16+set}" = set; then
2001: enableval="$enable_skg16"
2002: cat >> confdefs.h <<\EOF
2003: #define CONFIG_SK_G16 1
2004: EOF
2005:
2006: device_drivers="$device_drivers sk_g16.o"
1.1.1.2 ! root 2007: if test "${driver_class_net_selected+set}" != set; then
1.1 root 2008: driver_class_net_selected=yes
2009: cat >> confdefs.h <<EOF
2010: #define $driver_class_net_option 1
2011: EOF
2012:
2013: device_drivers="$device_drivers $driver_class_net_files"
2014: fi
2015:
2016: fi
2017:
2018:
2019: # Checking for device driver option ni52
2020: # Check whether --enable-ni52 or --disable-ni52 was given.
2021: if test "${enable_ni52+set}" = set; then
2022: enableval="$enable_ni52"
2023: cat >> confdefs.h <<\EOF
2024: #define CONFIG_NI52 1
2025: EOF
2026:
2027: device_drivers="$device_drivers ni52.o"
1.1.1.2 ! root 2028: if test "${driver_class_net_selected+set}" != set; then
1.1 root 2029: driver_class_net_selected=yes
2030: cat >> confdefs.h <<EOF
2031: #define $driver_class_net_option 1
2032: EOF
2033:
2034: device_drivers="$device_drivers $driver_class_net_files"
2035: fi
2036:
2037: fi
2038:
2039:
2040: # Checking for device driver option ni65
2041: # Check whether --enable-ni65 or --disable-ni65 was given.
2042: if test "${enable_ni65+set}" = set; then
2043: enableval="$enable_ni65"
2044: cat >> confdefs.h <<\EOF
2045: #define CONFIG_NI65 1
2046: EOF
2047:
2048: device_drivers="$device_drivers ni65.o"
1.1.1.2 ! root 2049: if test "${driver_class_net_selected+set}" != set; then
1.1 root 2050: driver_class_net_selected=yes
2051: cat >> confdefs.h <<EOF
2052: #define $driver_class_net_option 1
2053: EOF
2054:
2055: device_drivers="$device_drivers $driver_class_net_files"
2056: fi
2057:
2058: fi
2059:
2060:
2061: # Checking for device driver option atp
2062: # Check whether --enable-atp or --disable-atp was given.
2063: if test "${enable_atp+set}" = set; then
2064: enableval="$enable_atp"
2065: cat >> confdefs.h <<\EOF
2066: #define CONFIG_ATP 1
2067: EOF
2068:
1.1.1.2 ! root 2069: device_drivers="$device_drivers atp.o"
! 2070: if test "${driver_class_net_selected+set}" != set; then
1.1 root 2071: driver_class_net_selected=yes
2072: cat >> confdefs.h <<EOF
2073: #define $driver_class_net_option 1
2074: EOF
2075:
2076: device_drivers="$device_drivers $driver_class_net_files"
2077: fi
2078:
2079: fi
2080:
2081:
2082: trap '' 1 2 15
2083: cat > confcache <<\EOF
2084: # This file is a shell script that caches the results of configure
2085: # tests run on this system so they can be shared between configure
2086: # scripts and configure runs. It is not useful on other systems.
2087: # If it contains results you don't want to keep, you may remove or edit it.
2088: #
2089: # By default, configure uses ./config.cache as the cache file,
2090: # creating it if it does not exist already. You can give configure
2091: # the --cache-file=FILE option to use a different cache file; that is
2092: # what configure does when it calls configure scripts in
2093: # subdirectories, so they share the cache.
2094: # Giving --cache-file=/dev/null disables caching, for debugging configure.
2095: # config.status only pays attention to the cache file if you give it the
2096: # --recheck option to rerun configure.
2097: #
2098: EOF
2099: # The following way of writing the cache mishandles newlines in values,
2100: # but we know of no workaround that is simple, portable, and efficient.
2101: # So, don't put newlines in cache variables' values.
2102: # Ultrix sh set writes to stderr and can't be redirected directly,
2103: # and sets the high bit in the cache file unless we assign to the vars.
2104: (set) 2>&1 |
2105: case `(ac_space=' '; set | grep ac_space) 2>&1` in
2106: *ac_space=\ *)
2107: # `set' does not quote correctly, so add quotes (double-quote substitution
2108: # turns \\\\ into \\, and sed turns \\ into \).
2109: sed -n \
2110: -e "s/'/'\\\\''/g" \
2111: -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2112: ;;
2113: *)
2114: # `set' quotes correctly as required by POSIX, so do not add quotes.
2115: sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2116: ;;
2117: esac >> confcache
2118: if cmp -s $cache_file confcache; then
2119: :
2120: else
2121: if test -w $cache_file; then
2122: echo "updating cache $cache_file"
2123: cat confcache > $cache_file
2124: else
2125: echo "not updating unwritable cache $cache_file"
2126: fi
2127: fi
2128: rm -f confcache
2129:
2130: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2131:
2132: test "x$prefix" = xNONE && prefix=$ac_default_prefix
2133: # Let make expand exec_prefix.
2134: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2135:
2136: # Any assignment to VPATH causes Sun make to only execute
2137: # the first set of double-colon rules, so remove it if not needed.
2138: # If there is a colon in the path, we need to keep it.
2139: if test "x$srcdir" = x.; then
2140: ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2141: fi
2142:
2143: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2144:
2145: DEFS=-DHAVE_CONFIG_H
2146:
2147: # Without the "./", some shells look in PATH for config.status.
2148: : ${CONFIG_STATUS=./config.status}
2149:
2150: echo creating $CONFIG_STATUS
2151: rm -f $CONFIG_STATUS
2152: cat > $CONFIG_STATUS <<EOF
2153: #! /bin/sh
2154: # Generated automatically by configure.
2155: # Run this file to recreate the current configuration.
2156: # This directory was configured as follows,
2157: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2158: #
2159: # $0 $ac_configure_args
2160: #
2161: # Compiler output produced by configure, useful for debugging
2162: # configure, is in ./config.log if it exists.
2163:
2164: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2165: for ac_option
2166: do
2167: case "\$ac_option" in
2168: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2169: echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2170: exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2171: -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2172: echo "$CONFIG_STATUS generated by autoconf version 2.12"
2173: exit 0 ;;
2174: -help | --help | --hel | --he | --h)
2175: echo "\$ac_cs_usage"; exit 0 ;;
2176: *) echo "\$ac_cs_usage"; exit 1 ;;
2177: esac
2178: done
2179:
2180: ac_given_srcdir=$srcdir
2181:
2182: trap 'rm -fr `echo "driverlist device-drivers.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2183: EOF
2184: cat >> $CONFIG_STATUS <<EOF
2185:
2186: # Protect against being on the right side of a sed subst in config.status.
2187: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2188: s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2189: $ac_vpsub
2190: $extrasub
2191: s%@CFLAGS@%$CFLAGS%g
2192: s%@CPPFLAGS@%$CPPFLAGS%g
2193: s%@CXXFLAGS@%$CXXFLAGS%g
2194: s%@DEFS@%$DEFS%g
2195: s%@LDFLAGS@%$LDFLAGS%g
2196: s%@LIBS@%$LIBS%g
2197: s%@exec_prefix@%$exec_prefix%g
2198: s%@prefix@%$prefix%g
2199: s%@program_transform_name@%$program_transform_name%g
2200: s%@bindir@%$bindir%g
2201: s%@sbindir@%$sbindir%g
2202: s%@libexecdir@%$libexecdir%g
2203: s%@datadir@%$datadir%g
2204: s%@sysconfdir@%$sysconfdir%g
2205: s%@sharedstatedir@%$sharedstatedir%g
2206: s%@localstatedir@%$localstatedir%g
2207: s%@libdir@%$libdir%g
2208: s%@includedir@%$includedir%g
2209: s%@oldincludedir@%$oldincludedir%g
2210: s%@infodir@%$infodir%g
2211: s%@mandir@%$mandir%g
2212: s%@device_drivers@%$device_drivers%g
2213:
2214: CEOF
2215: EOF
2216:
2217: cat >> $CONFIG_STATUS <<\EOF
2218:
2219: # Split the substitutions into bite-sized pieces for seds with
2220: # small command number limits, like on Digital OSF/1 and HP-UX.
2221: ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2222: ac_file=1 # Number of current file.
2223: ac_beg=1 # First line for current file.
2224: ac_end=$ac_max_sed_cmds # Line after last line for current file.
2225: ac_more_lines=:
2226: ac_sed_cmds=""
2227: while $ac_more_lines; do
2228: if test $ac_beg -gt 1; then
2229: sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2230: else
2231: sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2232: fi
2233: if test ! -s conftest.s$ac_file; then
2234: ac_more_lines=false
2235: rm -f conftest.s$ac_file
2236: else
2237: if test -z "$ac_sed_cmds"; then
2238: ac_sed_cmds="sed -f conftest.s$ac_file"
2239: else
2240: ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2241: fi
2242: ac_file=`expr $ac_file + 1`
2243: ac_beg=$ac_end
2244: ac_end=`expr $ac_end + $ac_max_sed_cmds`
2245: fi
2246: done
2247: if test -z "$ac_sed_cmds"; then
2248: ac_sed_cmds=cat
2249: fi
2250: EOF
2251:
2252: cat >> $CONFIG_STATUS <<EOF
2253:
2254: CONFIG_FILES=\${CONFIG_FILES-"driverlist"}
2255: EOF
2256: cat >> $CONFIG_STATUS <<\EOF
2257: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2258: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2259: case "$ac_file" in
2260: *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2261: ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2262: *) ac_file_in="${ac_file}.in" ;;
2263: esac
2264:
2265: # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2266:
2267: # Remove last slash and all that follows it. Not all systems have dirname.
2268: ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2269: if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2270: # The file is in a subdirectory.
2271: test ! -d "$ac_dir" && mkdir "$ac_dir"
2272: ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2273: # A "../" for each directory in $ac_dir_suffix.
2274: ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2275: else
2276: ac_dir_suffix= ac_dots=
2277: fi
2278:
2279: case "$ac_given_srcdir" in
2280: .) srcdir=.
2281: if test -z "$ac_dots"; then top_srcdir=.
2282: else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2283: /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2284: *) # Relative path.
2285: srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2286: top_srcdir="$ac_dots$ac_given_srcdir" ;;
2287: esac
2288:
2289:
2290: echo creating "$ac_file"
2291: rm -f "$ac_file"
2292: configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2293: case "$ac_file" in
2294: *Makefile*) ac_comsub="1i\\
2295: # $configure_input" ;;
2296: *) ac_comsub= ;;
2297: esac
2298:
2299: ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2300: sed -e "$ac_comsub
2301: s%@configure_input@%$configure_input%g
2302: s%@srcdir@%$srcdir%g
2303: s%@top_srcdir@%$top_srcdir%g
2304: " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2305: fi; done
2306: rm -f conftest.s*
2307:
2308: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2309: # NAME is the cpp macro being defined and VALUE is the value it is being given.
2310: #
2311: # ac_d sets the value in "#define NAME VALUE" lines.
2312: ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2313: ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
2314: ac_dC='\3'
2315: ac_dD='%g'
2316: # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2317: ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2318: ac_uB='\([ ]\)%\1#\2define\3'
2319: ac_uC=' '
2320: ac_uD='\4%g'
2321: # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2322: ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2323: ac_eB='$%\1#\2define\3'
2324: ac_eC=' '
2325: ac_eD='%g'
2326:
2327: if test "${CONFIG_HEADERS+set}" != set; then
2328: EOF
2329: cat >> $CONFIG_STATUS <<EOF
2330: CONFIG_HEADERS="device-drivers.h"
2331: EOF
2332: cat >> $CONFIG_STATUS <<\EOF
2333: fi
2334: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2335: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2336: case "$ac_file" in
2337: *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2338: ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2339: *) ac_file_in="${ac_file}.in" ;;
2340: esac
2341:
2342: echo creating $ac_file
2343:
2344: rm -f conftest.frag conftest.in conftest.out
2345: ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2346: cat $ac_file_inputs > conftest.in
2347:
2348: EOF
2349:
2350: # Transform confdefs.h into a sed script conftest.vals that substitutes
2351: # the proper values into config.h.in to produce config.h. And first:
2352: # Protect against being on the right side of a sed subst in config.status.
2353: # Protect against being in an unquoted here document in config.status.
2354: rm -f conftest.vals
2355: cat > conftest.hdr <<\EOF
2356: s/[\\&%]/\\&/g
2357: s%[\\$`]%\\&%g
2358: s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2359: s%ac_d%ac_u%gp
2360: s%ac_u%ac_e%gp
2361: EOF
2362: sed -n -f conftest.hdr confdefs.h > conftest.vals
2363: rm -f conftest.hdr
2364:
2365: # This sed command replaces #undef with comments. This is necessary, for
2366: # example, in the case of _POSIX_SOURCE, which is predefined and required
2367: # on some systems where configure will not decide to define it.
2368: cat >> conftest.vals <<\EOF
2369: s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2370: EOF
2371:
2372: # Break up conftest.vals because some shells have a limit on
2373: # the size of here documents, and old seds have small limits too.
2374:
2375: rm -f conftest.tail
2376: while :
2377: do
2378: ac_lines=`grep -c . conftest.vals`
2379: # grep -c gives empty output for an empty file on some AIX systems.
2380: if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2381: # Write a limited-size here document to conftest.frag.
2382: echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2383: sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2384: echo 'CEOF
2385: sed -f conftest.frag conftest.in > conftest.out
2386: rm -f conftest.in
2387: mv conftest.out conftest.in
2388: ' >> $CONFIG_STATUS
2389: sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2390: rm -f conftest.vals
2391: mv conftest.tail conftest.vals
2392: done
2393: rm -f conftest.vals
2394:
2395: cat >> $CONFIG_STATUS <<\EOF
2396: rm -f conftest.frag conftest.h
2397: echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2398: cat conftest.in >> conftest.h
2399: rm -f conftest.in
2400: if cmp -s $ac_file conftest.h 2>/dev/null; then
2401: echo "$ac_file is unchanged"
2402: rm -f conftest.h
2403: else
2404: # Remove last slash and all that follows it. Not all systems have dirname.
2405: ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2406: if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2407: # The file is in a subdirectory.
2408: test ! -d "$ac_dir" && mkdir "$ac_dir"
2409: fi
2410: rm -f $ac_file
2411: mv conftest.h $ac_file
2412: fi
2413: fi; done
2414:
2415: EOF
2416: cat >> $CONFIG_STATUS <<EOF
2417:
2418: EOF
2419: cat >> $CONFIG_STATUS <<\EOF
2420:
2421: exit 0
2422: EOF
2423: chmod +x $CONFIG_STATUS
2424: rm -fr confdefs* $ac_clean_files
2425: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2426:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.