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