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