Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for midisport-firmware 1.2.
5 #
6 # Report bugs to <[email protected]>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='midisport-firmware'
272 PACKAGE_TARNAME='midisport-firmware'
273 PACKAGE_VERSION='1.2'
274 PACKAGE_STRING='midisport-firmware 1.2'
275 PACKAGE_BUGREPORT='[email protected]'
276
277 ac_unique_file="MidiSportLoader.ihx"
278 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot FXLOAD UDEV_RULES_DIR LIBOBJS LTLIBOBJS'
279 ac_subst_files=''
280
281 # Initialize some variables set by options.
282 ac_init_help=
283 ac_init_version=false
284 # The variables have the same names as the options, with
285 # dashes changed to underlines.
286 cache_file=/dev/null
287 exec_prefix=NONE
288 no_create=
289 no_recursion=
290 prefix=NONE
291 program_prefix=NONE
292 program_suffix=NONE
293 program_transform_name=s,x,x,
294 silent=
295 site=
296 srcdir=
297 verbose=
298 x_includes=NONE
299 x_libraries=NONE
300
301 # Installation directory options.
302 # These are left unexpanded so users can "make install exec_prefix=/foo"
303 # and all the variables that are supposed to be based on exec_prefix
304 # by default will actually change.
305 # Use braces instead of parens because sh, perl, etc. also accept them.
306 bindir='${exec_prefix}/bin'
307 sbindir='${exec_prefix}/sbin'
308 libexecdir='${exec_prefix}/libexec'
309 datadir='${prefix}/share'
310 sysconfdir='${prefix}/etc'
311 sharedstatedir='${prefix}/com'
312 localstatedir='${prefix}/var'
313 libdir='${exec_prefix}/lib'
314 includedir='${prefix}/include'
315 oldincludedir='/usr/include'
316 infodir='${prefix}/info'
317 mandir='${prefix}/man'
318
319 ac_prev=
320 for ac_option
321 do
322 # If the previous option needs an argument, assign it.
323 if test -n "$ac_prev"; then
324 eval "$ac_prev=\$ac_option"
325 ac_prev=
326 continue
327 fi
328
329 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330
331 # Accept the important Cygnus configure options, so we can diagnose typos.
332
333 case $ac_option in
334
335 -bindir | --bindir | --bindi | --bind | --bin | --bi)
336 ac_prev=bindir ;;
337 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 bindir=$ac_optarg ;;
339
340 -build | --build | --buil | --bui | --bu)
341 ac_prev=build_alias ;;
342 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
343 build_alias=$ac_optarg ;;
344
345 -cache-file | --cache-file | --cache-fil | --cache-fi \
346 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
347 ac_prev=cache_file ;;
348 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
349 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
350 cache_file=$ac_optarg ;;
351
352 --config-cache | -C)
353 cache_file=config.cache ;;
354
355 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 ac_prev=datadir ;;
357 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 | --da=*)
359 datadir=$ac_optarg ;;
360
361 -disable-* | --disable-*)
362 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
363 # Reject names that are not valid shell variable names.
364 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
365 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
366 { (exit 1); exit 1; }; }
367 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
368 eval "enable_$ac_feature=no" ;;
369
370 -enable-* | --enable-*)
371 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372 # Reject names that are not valid shell variable names.
373 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
374 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
375 { (exit 1); exit 1; }; }
376 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377 case $ac_option in
378 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 *) ac_optarg=yes ;;
380 esac
381 eval "enable_$ac_feature='$ac_optarg'" ;;
382
383 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
384 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
385 | --exec | --exe | --ex)
386 ac_prev=exec_prefix ;;
387 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
388 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
389 | --exec=* | --exe=* | --ex=*)
390 exec_prefix=$ac_optarg ;;
391
392 -gas | --gas | --ga | --g)
393 # Obsolete; use --with-gas.
394 with_gas=yes ;;
395
396 -help | --help | --hel | --he | -h)
397 ac_init_help=long ;;
398 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
399 ac_init_help=recursive ;;
400 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
401 ac_init_help=short ;;
402
403 -host | --host | --hos | --ho)
404 ac_prev=host_alias ;;
405 -host=* | --host=* | --hos=* | --ho=*)
406 host_alias=$ac_optarg ;;
407
408 -includedir | --includedir | --includedi | --included | --include \
409 | --includ | --inclu | --incl | --inc)
410 ac_prev=includedir ;;
411 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
412 | --includ=* | --inclu=* | --incl=* | --inc=*)
413 includedir=$ac_optarg ;;
414
415 -infodir | --infodir | --infodi | --infod | --info | --inf)
416 ac_prev=infodir ;;
417 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
418 infodir=$ac_optarg ;;
419
420 -libdir | --libdir | --libdi | --libd)
421 ac_prev=libdir ;;
422 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 libdir=$ac_optarg ;;
424
425 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
426 | --libexe | --libex | --libe)
427 ac_prev=libexecdir ;;
428 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
429 | --libexe=* | --libex=* | --libe=*)
430 libexecdir=$ac_optarg ;;
431
432 -localstatedir | --localstatedir | --localstatedi | --localstated \
433 | --localstate | --localstat | --localsta | --localst \
434 | --locals | --local | --loca | --loc | --lo)
435 ac_prev=localstatedir ;;
436 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
437 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
438 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
439 localstatedir=$ac_optarg ;;
440
441 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442 ac_prev=mandir ;;
443 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 mandir=$ac_optarg ;;
445
446 -nfp | --nfp | --nf)
447 # Obsolete; use --without-fp.
448 with_fp=no ;;
449
450 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
451 | --no-cr | --no-c | -n)
452 no_create=yes ;;
453
454 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
455 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 no_recursion=yes ;;
457
458 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
459 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
460 | --oldin | --oldi | --old | --ol | --o)
461 ac_prev=oldincludedir ;;
462 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
463 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
464 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
465 oldincludedir=$ac_optarg ;;
466
467 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468 ac_prev=prefix ;;
469 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 prefix=$ac_optarg ;;
471
472 -program-prefix | --program-prefix | --program-prefi | --program-pref \
473 | --program-pre | --program-pr | --program-p)
474 ac_prev=program_prefix ;;
475 -program-prefix=* | --program-prefix=* | --program-prefi=* \
476 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
477 program_prefix=$ac_optarg ;;
478
479 -program-suffix | --program-suffix | --program-suffi | --program-suff \
480 | --program-suf | --program-su | --program-s)
481 ac_prev=program_suffix ;;
482 -program-suffix=* | --program-suffix=* | --program-suffi=* \
483 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
484 program_suffix=$ac_optarg ;;
485
486 -program-transform-name | --program-transform-name \
487 | --program-transform-nam | --program-transform-na \
488 | --program-transform-n | --program-transform- \
489 | --program-transform | --program-transfor \
490 | --program-transfo | --program-transf \
491 | --program-trans | --program-tran \
492 | --progr-tra | --program-tr | --program-t)
493 ac_prev=program_transform_name ;;
494 -program-transform-name=* | --program-transform-name=* \
495 | --program-transform-nam=* | --program-transform-na=* \
496 | --program-transform-n=* | --program-transform-=* \
497 | --program-transform=* | --program-transfor=* \
498 | --program-transfo=* | --program-transf=* \
499 | --program-trans=* | --program-tran=* \
500 | --progr-tra=* | --program-tr=* | --program-t=*)
501 program_transform_name=$ac_optarg ;;
502
503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
504 | -silent | --silent | --silen | --sile | --sil)
505 silent=yes ;;
506
507 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508 ac_prev=sbindir ;;
509 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510 | --sbi=* | --sb=*)
511 sbindir=$ac_optarg ;;
512
513 -sharedstatedir | --sharedstatedir | --sharedstatedi \
514 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
515 | --sharedst | --shareds | --shared | --share | --shar \
516 | --sha | --sh)
517 ac_prev=sharedstatedir ;;
518 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
519 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
520 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521 | --sha=* | --sh=*)
522 sharedstatedir=$ac_optarg ;;
523
524 -site | --site | --sit)
525 ac_prev=site ;;
526 -site=* | --site=* | --sit=*)
527 site=$ac_optarg ;;
528
529 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530 ac_prev=srcdir ;;
531 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 srcdir=$ac_optarg ;;
533
534 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
535 | --syscon | --sysco | --sysc | --sys | --sy)
536 ac_prev=sysconfdir ;;
537 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
538 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
539 sysconfdir=$ac_optarg ;;
540
541 -target | --target | --targe | --targ | --tar | --ta | --t)
542 ac_prev=target_alias ;;
543 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
544 target_alias=$ac_optarg ;;
545
546 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 verbose=yes ;;
548
549 -version | --version | --versio | --versi | --vers | -V)
550 ac_init_version=: ;;
551
552 -with-* | --with-*)
553 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid package name: $ac_package" >&2
557 { (exit 1); exit 1; }; }
558 ac_package=`echo $ac_package| sed 's/-/_/g'`
559 case $ac_option in
560 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 *) ac_optarg=yes ;;
562 esac
563 eval "with_$ac_package='$ac_optarg'" ;;
564
565 -without-* | --without-*)
566 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567 # Reject names that are not valid shell variable names.
568 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
569 { echo "$as_me: error: invalid package name: $ac_package" >&2
570 { (exit 1); exit 1; }; }
571 ac_package=`echo $ac_package | sed 's/-/_/g'`
572 eval "with_$ac_package=no" ;;
573
574 --x)
575 # Obsolete; use --with-x.
576 with_x=yes ;;
577
578 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
579 | --x-incl | --x-inc | --x-in | --x-i)
580 ac_prev=x_includes ;;
581 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
582 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
583 x_includes=$ac_optarg ;;
584
585 -x-libraries | --x-libraries | --x-librarie | --x-librari \
586 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
587 ac_prev=x_libraries ;;
588 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
589 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
590 x_libraries=$ac_optarg ;;
591
592 -*) { echo "$as_me: error: unrecognized option: $ac_option
593 Try \`$0 --help' for more information." >&2
594 { (exit 1); exit 1; }; }
595 ;;
596
597 *=*)
598 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
599 # Reject names that are not valid shell variable names.
600 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
601 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
602 { (exit 1); exit 1; }; }
603 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
604 eval "$ac_envvar='$ac_optarg'"
605 export $ac_envvar ;;
606
607 *)
608 # FIXME: should be removed in autoconf 3.0.
609 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
610 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
611 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
612 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 ;;
614
615 esac
616 done
617
618 if test -n "$ac_prev"; then
619 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
620 { echo "$as_me: error: missing argument to $ac_option" >&2
621 { (exit 1); exit 1; }; }
622 fi
623
624 # Be sure to have absolute paths.
625 for ac_var in exec_prefix prefix
626 do
627 eval ac_val=$`echo $ac_var`
628 case $ac_val in
629 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
630 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
631 { (exit 1); exit 1; }; };;
632 esac
633 done
634
635 # Be sure to have absolute paths.
636 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
637 localstatedir libdir includedir oldincludedir infodir mandir
638 do
639 eval ac_val=$`echo $ac_var`
640 case $ac_val in
641 [\\/$]* | ?:[\\/]* ) ;;
642 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
643 { (exit 1); exit 1; }; };;
644 esac
645 done
646
647 # There might be people who depend on the old broken behavior: `$host'
648 # used to hold the argument of --host etc.
649 # FIXME: To remove some day.
650 build=$build_alias
651 host=$host_alias
652 target=$target_alias
653
654 # FIXME: To remove some day.
655 if test "x$host_alias" != x; then
656 if test "x$build_alias" = x; then
657 cross_compiling=maybe
658 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
659 If a cross compiler is detected then cross compile mode will be used." >&2
660 elif test "x$build_alias" != "x$host_alias"; then
661 cross_compiling=yes
662 fi
663 fi
664
665 ac_tool_prefix=
666 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667
668 test "$silent" = yes && exec 6>/dev/null
669
670
671 # Find the source files, if location was not specified.
672 if test -z "$srcdir"; then
673 ac_srcdir_defaulted=yes
674 # Try the directory containing this script, then its parent.
675 ac_confdir=`(dirname "$0") 2>/dev/null ||
676 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
677 X"$0" : 'X\(//\)[^/]' \| \
678 X"$0" : 'X\(//\)$' \| \
679 X"$0" : 'X\(/\)' \| \
680 . : '\(.\)' 2>/dev/null ||
681 echo X"$0" |
682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
684 /^X\(\/\/\)$/{ s//\1/; q; }
685 /^X\(\/\).*/{ s//\1/; q; }
686 s/.*/./; q'`
687 srcdir=$ac_confdir
688 if test ! -r $srcdir/$ac_unique_file; then
689 srcdir=..
690 fi
691 else
692 ac_srcdir_defaulted=no
693 fi
694 if test ! -r $srcdir/$ac_unique_file; then
695 if test "$ac_srcdir_defaulted" = yes; then
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
697 { (exit 1); exit 1; }; }
698 else
699 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
700 { (exit 1); exit 1; }; }
701 fi
702 fi
703 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
704 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
705 { (exit 1); exit 1; }; }
706 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
707 ac_env_build_alias_set=${build_alias+set}
708 ac_env_build_alias_value=$build_alias
709 ac_cv_env_build_alias_set=${build_alias+set}
710 ac_cv_env_build_alias_value=$build_alias
711 ac_env_host_alias_set=${host_alias+set}
712 ac_env_host_alias_value=$host_alias
713 ac_cv_env_host_alias_set=${host_alias+set}
714 ac_cv_env_host_alias_value=$host_alias
715 ac_env_target_alias_set=${target_alias+set}
716 ac_env_target_alias_value=$target_alias
717 ac_cv_env_target_alias_set=${target_alias+set}
718 ac_cv_env_target_alias_value=$target_alias
719
720 #
721 # Report the --help message.
722 #
723 if test "$ac_init_help" = "long"; then
724 # Omit some internal or obsolete options to make the list less imposing.
725 # This message is too long to be a string in the A/UX 3.1 sh.
726 cat <<_ACEOF
727 \`configure' configures midisport-firmware 1.2 to adapt to many kinds of systems.
728
729 Usage: $0 [OPTION]... [VAR=VALUE]...
730
731 To assign environment variables (e.g., CC, CFLAGS...), specify them as
732 VAR=VALUE. See below for descriptions of some of the useful variables.
733
734 Defaults for the options are specified in brackets.
735
736 Configuration:
737 -h, --help display this help and exit
738 --help=short display options specific to this package
739 --help=recursive display the short help of all the included packages
740 -V, --version display version information and exit
741 -q, --quiet, --silent do not print \`checking...' messages
742 --cache-file=FILE cache test results in FILE [disabled]
743 -C, --config-cache alias for \`--cache-file=config.cache'
744 -n, --no-create do not create output files
745 --srcdir=DIR find the sources in DIR [configure dir or \`..']
746
747 _ACEOF
748
749 cat <<_ACEOF
750 Installation directories:
751 --prefix=PREFIX install architecture-independent files in PREFIX
752 [$ac_default_prefix]
753 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
754 [PREFIX]
755
756 By default, \`make install' will install all the files in
757 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
758 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
759 for instance \`--prefix=\$HOME'.
760
761 For better control, use the options below.
762
763 Fine tuning of the installation directories:
764 --bindir=DIR user executables [EPREFIX/bin]
765 --sbindir=DIR system admin executables [EPREFIX/sbin]
766 --libexecdir=DIR program executables [EPREFIX/libexec]
767 --datadir=DIR read-only architecture-independent data [PREFIX/share]
768 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
769 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
770 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
771 --libdir=DIR object code libraries [EPREFIX/lib]
772 --includedir=DIR C header files [PREFIX/include]
773 --oldincludedir=DIR C header files for non-gcc [/usr/include]
774 --infodir=DIR info documentation [PREFIX/info]
775 --mandir=DIR man documentation [PREFIX/man]
776 _ACEOF
777
778 cat <<\_ACEOF
779
780 Program names:
781 --program-prefix=PREFIX prepend PREFIX to installed program names
782 --program-suffix=SUFFIX append SUFFIX to installed program names
783 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
784 _ACEOF
785 fi
786
787 if test -n "$ac_init_help"; then
788 case $ac_init_help in
789 short | recursive ) echo "Configuration of midisport-firmware 1.2:";;
790 esac
791 cat <<\_ACEOF
792
793 Optional Packages:
794 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
795 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
796 --with-fxload=name use fxload at the specified location
797 [/sbin/fxload]
798 --with-udev=dir specify udev directory [/etc/udev]
799
800 Report bugs to <[email protected]>.
801 _ACEOF
802 fi
803
804 if test "$ac_init_help" = "recursive"; then
805 # If there are subdirs, report their specific --help.
806 ac_popdir=`pwd`
807 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
808 test -d $ac_dir || continue
809 ac_builddir=.
810
811 if test "$ac_dir" != .; then
812 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
813 # A "../" for each directory in $ac_dir_suffix.
814 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
815 else
816 ac_dir_suffix= ac_top_builddir=
817 fi
818
819 case $srcdir in
820 .) # No --srcdir option. We are building in place.
821 ac_srcdir=.
822 if test -z "$ac_top_builddir"; then
823 ac_top_srcdir=.
824 else
825 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
826 fi ;;
827 [\\/]* | ?:[\\/]* ) # Absolute path.
828 ac_srcdir=$srcdir$ac_dir_suffix;
829 ac_top_srcdir=$srcdir ;;
830 *) # Relative path.
831 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
832 ac_top_srcdir=$ac_top_builddir$srcdir ;;
833 esac
834
835 # Do not use `cd foo && pwd` to compute absolute paths, because
836 # the directories may not exist.
837 case `pwd` in
838 .) ac_abs_builddir="$ac_dir";;
839 *)
840 case "$ac_dir" in
841 .) ac_abs_builddir=`pwd`;;
842 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
843 *) ac_abs_builddir=`pwd`/"$ac_dir";;
844 esac;;
845 esac
846 case $ac_abs_builddir in
847 .) ac_abs_top_builddir=${ac_top_builddir}.;;
848 *)
849 case ${ac_top_builddir}. in
850 .) ac_abs_top_builddir=$ac_abs_builddir;;
851 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
852 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
853 esac;;
854 esac
855 case $ac_abs_builddir in
856 .) ac_abs_srcdir=$ac_srcdir;;
857 *)
858 case $ac_srcdir in
859 .) ac_abs_srcdir=$ac_abs_builddir;;
860 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
861 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
862 esac;;
863 esac
864 case $ac_abs_builddir in
865 .) ac_abs_top_srcdir=$ac_top_srcdir;;
866 *)
867 case $ac_top_srcdir in
868 .) ac_abs_top_srcdir=$ac_abs_builddir;;
869 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
870 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
871 esac;;
872 esac
873
874 cd $ac_dir
875 # Check for guested configure; otherwise get Cygnus style configure.
876 if test -f $ac_srcdir/configure.gnu; then
877 echo
878 $SHELL $ac_srcdir/configure.gnu --help=recursive
879 elif test -f $ac_srcdir/configure; then
880 echo
881 $SHELL $ac_srcdir/configure --help=recursive
882 elif test -f $ac_srcdir/configure.ac ||
883 test -f $ac_srcdir/configure.in; then
884 echo
885 $ac_configure --help
886 else
887 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
888 fi
889 cd $ac_popdir
890 done
891 fi
892
893 test -n "$ac_init_help" && exit 0
894 if $ac_init_version; then
895 cat <<\_ACEOF
896 midisport-firmware configure 1.2
897 generated by GNU Autoconf 2.59
898
899 Copyright (C) 2003 Free Software Foundation, Inc.
900 This configure script is free software; the Free Software Foundation
901 gives unlimited permission to copy, distribute and modify it.
902 _ACEOF
903 exit 0
904 fi
905 exec 5>config.log
906 cat >&5 <<_ACEOF
907 This file contains any messages produced by compilers while
908 running configure, to aid debugging if configure makes a mistake.
909
910 It was created by midisport-firmware $as_me 1.2, which was
911 generated by GNU Autoconf 2.59. Invocation command line was
912
913 $ $0 $@
914
915 _ACEOF
916 {
917 cat <<_ASUNAME
918 ## --------- ##
919 ## Platform. ##
920 ## --------- ##
921
922 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
923 uname -m = `(uname -m) 2>/dev/null || echo unknown`
924 uname -r = `(uname -r) 2>/dev/null || echo unknown`
925 uname -s = `(uname -s) 2>/dev/null || echo unknown`
926 uname -v = `(uname -v) 2>/dev/null || echo unknown`
927
928 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
929 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
930
931 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
932 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
933 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
934 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
935 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
936 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
937 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
938
939 _ASUNAME
940
941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
942 for as_dir in $PATH
943 do
944 IFS=$as_save_IFS
945 test -z "$as_dir" && as_dir=.
946 echo "PATH: $as_dir"
947 done
948
949 } >&5
950
951 cat >&5 <<_ACEOF
952
953
954 ## ----------- ##
955 ## Core tests. ##
956 ## ----------- ##
957
958 _ACEOF
959
960
961 # Keep a trace of the command line.
962 # Strip out --no-create and --no-recursion so they do not pile up.
963 # Strip out --silent because we don't want to record it for future runs.
964 # Also quote any args containing shell meta-characters.
965 # Make two passes to allow for proper duplicate-argument suppression.
966 ac_configure_args=
967 ac_configure_args0=
968 ac_configure_args1=
969 ac_sep=
970 ac_must_keep_next=false
971 for ac_pass in 1 2
972 do
973 for ac_arg
974 do
975 case $ac_arg in
976 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
979 continue ;;
980 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
981 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
982 esac
983 case $ac_pass in
984 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
985 2)
986 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
987 if test $ac_must_keep_next = true; then
988 ac_must_keep_next=false # Got value, back to normal.
989 else
990 case $ac_arg in
991 *=* | --config-cache | -C | -disable-* | --disable-* \
992 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
993 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
994 | -with-* | --with-* | -without-* | --without-* | --x)
995 case "$ac_configure_args0 " in
996 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
997 esac
998 ;;
999 -* ) ac_must_keep_next=true ;;
1000 esac
1001 fi
1002 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1003 # Get rid of the leading space.
1004 ac_sep=" "
1005 ;;
1006 esac
1007 done
1008 done
1009 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1010 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1011
1012 # When interrupted or exit'd, cleanup temporary files, and complete
1013 # config.log. We remove comments because anyway the quotes in there
1014 # would cause problems or look ugly.
1015 # WARNING: Be sure not to use single quotes in there, as some shells,
1016 # such as our DU 5.0 friend, will then `close' the trap.
1017 trap 'exit_status=$?
1018 # Save into config.log some information that might help in debugging.
1019 {
1020 echo
1021
1022 cat <<\_ASBOX
1023 ## ---------------- ##
1024 ## Cache variables. ##
1025 ## ---------------- ##
1026 _ASBOX
1027 echo
1028 # The following way of writing the cache mishandles newlines in values,
1029 {
1030 (set) 2>&1 |
1031 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1032 *ac_space=\ *)
1033 sed -n \
1034 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1036 ;;
1037 *)
1038 sed -n \
1039 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1040 ;;
1041 esac;
1042 }
1043 echo
1044
1045 cat <<\_ASBOX
1046 ## ----------------- ##
1047 ## Output variables. ##
1048 ## ----------------- ##
1049 _ASBOX
1050 echo
1051 for ac_var in $ac_subst_vars
1052 do
1053 eval ac_val=$`echo $ac_var`
1054 echo "$ac_var='"'"'$ac_val'"'"'"
1055 done | sort
1056 echo
1057
1058 if test -n "$ac_subst_files"; then
1059 cat <<\_ASBOX
1060 ## ------------- ##
1061 ## Output files. ##
1062 ## ------------- ##
1063 _ASBOX
1064 echo
1065 for ac_var in $ac_subst_files
1066 do
1067 eval ac_val=$`echo $ac_var`
1068 echo "$ac_var='"'"'$ac_val'"'"'"
1069 done | sort
1070 echo
1071 fi
1072
1073 if test -s confdefs.h; then
1074 cat <<\_ASBOX
1075 ## ----------- ##
1076 ## confdefs.h. ##
1077 ## ----------- ##
1078 _ASBOX
1079 echo
1080 sed "/^$/d" confdefs.h | sort
1081 echo
1082 fi
1083 test "$ac_signal" != 0 &&
1084 echo "$as_me: caught signal $ac_signal"
1085 echo "$as_me: exit $exit_status"
1086 } >&5
1087 rm -f core *.core &&
1088 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1089 exit $exit_status
1090 ' 0
1091 for ac_signal in 1 2 13 15; do
1092 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1093 done
1094 ac_signal=0
1095
1096 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1097 rm -rf conftest* confdefs.h
1098 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1099 echo >confdefs.h
1100
1101 # Predefined preprocessor variables.
1102
1103 cat >>confdefs.h <<_ACEOF
1104 #define PACKAGE_NAME "$PACKAGE_NAME"
1105 _ACEOF
1106
1107
1108 cat >>confdefs.h <<_ACEOF
1109 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1110 _ACEOF
1111
1112
1113 cat >>confdefs.h <<_ACEOF
1114 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1115 _ACEOF
1116
1117
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_STRING "$PACKAGE_STRING"
1120 _ACEOF
1121
1122
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1125 _ACEOF
1126
1127
1128 # Let the site file select an alternate cache file if it wants to.
1129 # Prefer explicitly selected file to automatically selected ones.
1130 if test -z "$CONFIG_SITE"; then
1131 if test "x$prefix" != xNONE; then
1132 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1133 else
1134 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1135 fi
1136 fi
1137 for ac_site_file in $CONFIG_SITE; do
1138 if test -r "$ac_site_file"; then
1139 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1140 echo "$as_me: loading site script $ac_site_file" >&6;}
1141 sed 's/^/| /' "$ac_site_file" >&5
1142 . "$ac_site_file"
1143 fi
1144 done
1145
1146 if test -r "$cache_file"; then
1147 # Some versions of bash will fail to source /dev/null (special
1148 # files actually), so we avoid doing that.
1149 if test -f "$cache_file"; then
1150 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1151 echo "$as_me: loading cache $cache_file" >&6;}
1152 case $cache_file in
1153 [\\/]* | ?:[\\/]* ) . $cache_file;;
1154 *) . ./$cache_file;;
1155 esac
1156 fi
1157 else
1158 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1159 echo "$as_me: creating cache $cache_file" >&6;}
1160 >$cache_file
1161 fi
1162
1163 # Check that the precious variables saved in the cache have kept the same
1164 # value.
1165 ac_cache_corrupted=false
1166 for ac_var in `(set) 2>&1 |
1167 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1168 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1169 eval ac_new_set=\$ac_env_${ac_var}_set
1170 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1171 eval ac_new_val="\$ac_env_${ac_var}_value"
1172 case $ac_old_set,$ac_new_set in
1173 set,)
1174 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1175 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1176 ac_cache_corrupted=: ;;
1177 ,set)
1178 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1179 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1180 ac_cache_corrupted=: ;;
1181 ,);;
1182 *)
1183 if test "x$ac_old_val" != "x$ac_new_val"; then
1184 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1185 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1186 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1187 echo "$as_me: former value: $ac_old_val" >&2;}
1188 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1189 echo "$as_me: current value: $ac_new_val" >&2;}
1190 ac_cache_corrupted=:
1191 fi;;
1192 esac
1193 # Pass precious variables to config.status.
1194 if test "$ac_new_set" = set; then
1195 case $ac_new_val in
1196 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1197 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1198 *) ac_arg=$ac_var=$ac_new_val ;;
1199 esac
1200 case " $ac_configure_args " in
1201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1202 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1203 esac
1204 fi
1205 done
1206 if $ac_cache_corrupted; then
1207 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1208 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1209 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1210 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1211 { (exit 1); exit 1; }; }
1212 fi
1213
1214 ac_ext=c
1215 ac_cpp='$CPP $CPPFLAGS'
1216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246 am__api_version="1.8"
1247 ac_aux_dir=
1248 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1249 if test -f $ac_dir/install-sh; then
1250 ac_aux_dir=$ac_dir
1251 ac_install_sh="$ac_aux_dir/install-sh -c"
1252 break
1253 elif test -f $ac_dir/install.sh; then
1254 ac_aux_dir=$ac_dir
1255 ac_install_sh="$ac_aux_dir/install.sh -c"
1256 break
1257 elif test -f $ac_dir/shtool; then
1258 ac_aux_dir=$ac_dir
1259 ac_install_sh="$ac_aux_dir/shtool install -c"
1260 break
1261 fi
1262 done
1263 if test -z "$ac_aux_dir"; then
1264 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1265 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1266 { (exit 1); exit 1; }; }
1267 fi
1268 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1269 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1270 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1271
1272 # Find a good install program. We prefer a C program (faster),
1273 # so one script is as good as another. But avoid the broken or
1274 # incompatible versions:
1275 # SysV /etc/install, /usr/sbin/install
1276 # SunOS /usr/etc/install
1277 # IRIX /sbin/install
1278 # AIX /bin/install
1279 # AmigaOS /C/install, which installs bootblocks on floppy discs
1280 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1281 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1282 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1283 # OS/2's system install, which has a completely different semantic
1284 # ./install, which can be erroneously created by make from ./install.sh.
1285 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1286 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1287 if test -z "$INSTALL"; then
1288 if test "${ac_cv_path_install+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1290 else
1291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1292 for as_dir in $PATH
1293 do
1294 IFS=$as_save_IFS
1295 test -z "$as_dir" && as_dir=.
1296 # Account for people who put trailing slashes in PATH elements.
1297 case $as_dir/ in
1298 ./ | .// | /cC/* | \
1299 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1300 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1301 /usr/ucb/* ) ;;
1302 *)
1303 # OSF1 and SCO ODT 3.0 have their own names for install.
1304 # Don't use installbsd from OSF since it installs stuff as root
1305 # by default.
1306 for ac_prog in ginstall scoinst install; do
1307 for ac_exec_ext in '' $ac_executable_extensions; do
1308 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1309 if test $ac_prog = install &&
1310 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1311 # AIX install. It has an incompatible calling convention.
1312 :
1313 elif test $ac_prog = install &&
1314 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1315 # program-specific install script used by HP pwplus--don't use.
1316 :
1317 else
1318 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1319 break 3
1320 fi
1321 fi
1322 done
1323 done
1324 ;;
1325 esac
1326 done
1327
1328
1329 fi
1330 if test "${ac_cv_path_install+set}" = set; then
1331 INSTALL=$ac_cv_path_install
1332 else
1333 # As a last resort, use the slow shell script. We don't cache a
1334 # path for INSTALL within a source directory, because that will
1335 # break other packages using the cache if that directory is
1336 # removed, or if the path is relative.
1337 INSTALL=$ac_install_sh
1338 fi
1339 fi
1340 echo "$as_me:$LINENO: result: $INSTALL" >&5
1341 echo "${ECHO_T}$INSTALL" >&6
1342
1343 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1344 # It thinks the first close brace ends the variable substitution.
1345 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1346
1347 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1348
1349 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1350
1351 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1352 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1353 # Just in case
1354 sleep 1
1355 echo timestamp > conftest.file
1356 # Do `set' in a subshell so we don't clobber the current shell's
1357 # arguments. Must try -L first in case configure is actually a
1358 # symlink; some systems play weird games with the mod time of symlinks
1359 # (eg FreeBSD returns the mod time of the symlink's containing
1360 # directory).
1361 if (
1362 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1363 if test "$*" = "X"; then
1364 # -L didn't work.
1365 set X `ls -t $srcdir/configure conftest.file`
1366 fi
1367 rm -f conftest.file
1368 if test "$*" != "X $srcdir/configure conftest.file" \
1369 && test "$*" != "X conftest.file $srcdir/configure"; then
1370
1371 # If neither matched, then we have a broken ls. This can happen
1372 # if, for instance, CONFIG_SHELL is bash and it inherits a
1373 # broken ls alias from the environment. This has actually
1374 # happened. Such a system could not be considered "sane".
1375 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1376 alias in your environment" >&5
1377 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1378 alias in your environment" >&2;}
1379 { (exit 1); exit 1; }; }
1380 fi
1381
1382 test "$2" = conftest.file
1383 )
1384 then
1385 # Ok.
1386 :
1387 else
1388 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1389 Check your system clock" >&5
1390 echo "$as_me: error: newly created file is older than distributed files!
1391 Check your system clock" >&2;}
1392 { (exit 1); exit 1; }; }
1393 fi
1394 echo "$as_me:$LINENO: result: yes" >&5
1395 echo "${ECHO_T}yes" >&6
1396 test "$program_prefix" != NONE &&
1397 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1398 # Use a double $ so make ignores it.
1399 test "$program_suffix" != NONE &&
1400 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1401 # Double any \ or $. echo might interpret backslashes.
1402 # By default was `s,x,x', remove it if useless.
1403 cat <<\_ACEOF >conftest.sed
1404 s/[\\$]/&&/g;s/;s,x,x,$//
1405 _ACEOF
1406 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1407 rm conftest.sed
1408
1409 # expand $ac_aux_dir to an absolute path
1410 am_aux_dir=`cd $ac_aux_dir && pwd`
1411
1412 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1413 # Use eval to expand $SHELL
1414 if eval "$MISSING --run true"; then
1415 am_missing_run="$MISSING --run "
1416 else
1417 am_missing_run=
1418 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1419 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1420 fi
1421
1422 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1423 # Keeping the `.' argument allows $(mkdir_p) to be used without
1424 # argument. Indeed, we sometimes output rules like
1425 # $(mkdir_p) $(somedir)
1426 # where $(somedir) is conditionally defined.
1427 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1428 # expensive solution, as it forces Make to start a sub-shell.)
1429 mkdir_p='mkdir -p -- .'
1430 else
1431 # On NextStep and OpenStep, the `mkdir' command does not
1432 # recognize any option. It will interpret all options as
1433 # directories to create, and then abort because `.' already
1434 # exists.
1435 for d in ./-p ./--version;
1436 do
1437 test -d $d && rmdir $d
1438 done
1439 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1440 if test -f "$ac_aux_dir/mkinstalldirs"; then
1441 mkdir_p='$(mkinstalldirs)'
1442 else
1443 mkdir_p='$(install_sh) -d'
1444 fi
1445 fi
1446
1447 for ac_prog in gawk mawk nawk awk
1448 do
1449 # Extract the first word of "$ac_prog", so it can be a program name with args.
1450 set dummy $ac_prog; ac_word=$2
1451 echo "$as_me:$LINENO: checking for $ac_word" >&5
1452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1453 if test "${ac_cv_prog_AWK+set}" = set; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 else
1456 if test -n "$AWK"; then
1457 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1458 else
1459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 for as_dir in $PATH
1461 do
1462 IFS=$as_save_IFS
1463 test -z "$as_dir" && as_dir=.
1464 for ac_exec_ext in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1466 ac_cv_prog_AWK="$ac_prog"
1467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 break 2
1469 fi
1470 done
1471 done
1472
1473 fi
1474 fi
1475 AWK=$ac_cv_prog_AWK
1476 if test -n "$AWK"; then
1477 echo "$as_me:$LINENO: result: $AWK" >&5
1478 echo "${ECHO_T}$AWK" >&6
1479 else
1480 echo "$as_me:$LINENO: result: no" >&5
1481 echo "${ECHO_T}no" >&6
1482 fi
1483
1484 test -n "$AWK" && break
1485 done
1486
1487 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1488 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1489 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1490 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1491 echo $ECHO_N "(cached) $ECHO_C" >&6
1492 else
1493 cat >conftest.make <<\_ACEOF
1494 all:
1495 @echo 'ac_maketemp="$(MAKE)"'
1496 _ACEOF
1497 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1498 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1499 if test -n "$ac_maketemp"; then
1500 eval ac_cv_prog_make_${ac_make}_set=yes
1501 else
1502 eval ac_cv_prog_make_${ac_make}_set=no
1503 fi
1504 rm -f conftest.make
1505 fi
1506 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1507 echo "$as_me:$LINENO: result: yes" >&5
1508 echo "${ECHO_T}yes" >&6
1509 SET_MAKE=
1510 else
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1513 SET_MAKE="MAKE=${MAKE-make}"
1514 fi
1515
1516 rm -rf .tst 2>/dev/null
1517 mkdir .tst 2>/dev/null
1518 if test -d .tst; then
1519 am__leading_dot=.
1520 else
1521 am__leading_dot=_
1522 fi
1523 rmdir .tst 2>/dev/null
1524
1525 # test to see if srcdir already configured
1526 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1527 test -f $srcdir/config.status; then
1528 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1529 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1530 { (exit 1); exit 1; }; }
1531 fi
1532
1533 # test whether we have cygpath
1534 if test -z "$CYGPATH_W"; then
1535 if (cygpath --version) >/dev/null 2>/dev/null; then
1536 CYGPATH_W='cygpath -w'
1537 else
1538 CYGPATH_W=echo
1539 fi
1540 fi
1541
1542
1543 # Define the identity of the package.
1544 PACKAGE=$PACKAGE_NAME
1545 VERSION=$PACKAGE_VERSION
1546
1547
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE "$PACKAGE"
1550 _ACEOF
1551
1552
1553 cat >>confdefs.h <<_ACEOF
1554 #define VERSION "$VERSION"
1555 _ACEOF
1556
1557 # Some tools Automake needs.
1558
1559 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1560
1561
1562 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1563
1564
1565 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1566
1567
1568 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1569
1570
1571 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1572
1573
1574 AMTAR=${AMTAR-"${am_missing_run}tar"}
1575
1576 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1577
1578 # Installed binaries are usually stripped using `strip' when the user
1579 # run `make install-strip'. However `strip' might not be the right
1580 # tool to use in cross-compilation environments, therefore Automake
1581 # will honor the `STRIP' environment variable to overrule this program.
1582 if test "$cross_compiling" != no; then
1583 if test -n "$ac_tool_prefix"; then
1584 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1585 set dummy ${ac_tool_prefix}strip; ac_word=$2
1586 echo "$as_me:$LINENO: checking for $ac_word" >&5
1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588 if test "${ac_cv_prog_STRIP+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 else
1591 if test -n "$STRIP"; then
1592 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1593 else
1594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1595 for as_dir in $PATH
1596 do
1597 IFS=$as_save_IFS
1598 test -z "$as_dir" && as_dir=.
1599 for ac_exec_ext in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1601 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 break 2
1604 fi
1605 done
1606 done
1607
1608 fi
1609 fi
1610 STRIP=$ac_cv_prog_STRIP
1611 if test -n "$STRIP"; then
1612 echo "$as_me:$LINENO: result: $STRIP" >&5
1613 echo "${ECHO_T}$STRIP" >&6
1614 else
1615 echo "$as_me:$LINENO: result: no" >&5
1616 echo "${ECHO_T}no" >&6
1617 fi
1618
1619 fi
1620 if test -z "$ac_cv_prog_STRIP"; then
1621 ac_ct_STRIP=$STRIP
1622 # Extract the first word of "strip", so it can be a program name with args.
1623 set dummy strip; ac_word=$2
1624 echo "$as_me:$LINENO: checking for $ac_word" >&5
1625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1626 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 else
1629 if test -n "$ac_ct_STRIP"; then
1630 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1631 else
1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 for as_dir in $PATH
1634 do
1635 IFS=$as_save_IFS
1636 test -z "$as_dir" && as_dir=.
1637 for ac_exec_ext in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639 ac_cv_prog_ac_ct_STRIP="strip"
1640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 break 2
1642 fi
1643 done
1644 done
1645
1646 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1647 fi
1648 fi
1649 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1650 if test -n "$ac_ct_STRIP"; then
1651 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1652 echo "${ECHO_T}$ac_ct_STRIP" >&6
1653 else
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1656 fi
1657
1658 STRIP=$ac_ct_STRIP
1659 else
1660 STRIP="$ac_cv_prog_STRIP"
1661 fi
1662
1663 fi
1664 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1665
1666 # We need awk for the "check" target. The system "awk" is bad on
1667 # some platforms.
1668
1669
1670
1671
1672
1673
1674
1675 # Check whether --with-fxload or --without-fxload was given.
1676 if test "${with_fxload+set}" = set; then
1677 withval="$with_fxload"
1678 given_fxload="$withval"
1679 else
1680 given_fxload=""
1681 fi;
1682 if test -n "$given_fxload"; then
1683 echo "$as_me:$LINENO: checking for fxload" >&5
1684 echo $ECHO_N "checking for fxload... $ECHO_C" >&6
1685 FXLOAD=$given_fxload
1686
1687 echo "$as_me:$LINENO: result: $given_fxload" >&5
1688 echo "${ECHO_T}$given_fxload" >&6
1689 else
1690 # Extract the first word of "fxload", so it can be a program name with args.
1691 set dummy fxload; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_path_FXLOAD+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697 case $FXLOAD in
1698 [\\/]* | ?:[\\/]*)
1699 ac_cv_path_FXLOAD="$FXLOAD" # Let the user override the test with a path.
1700 ;;
1701 *)
1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703 as_dummy="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
1704 for as_dir in $as_dummy
1705 do
1706 IFS=$as_save_IFS
1707 test -z "$as_dir" && as_dir=.
1708 for ac_exec_ext in '' $ac_executable_extensions; do
1709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710 ac_cv_path_FXLOAD="$as_dir/$ac_word$ac_exec_ext"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1712 break 2
1713 fi
1714 done
1715 done
1716
1717 test -z "$ac_cv_path_FXLOAD" && ac_cv_path_FXLOAD="/sbin/fxload"
1718 ;;
1719 esac
1720 fi
1721 FXLOAD=$ac_cv_path_FXLOAD
1722
1723 if test -n "$FXLOAD"; then
1724 echo "$as_me:$LINENO: result: $FXLOAD" >&5
1725 echo "${ECHO_T}$FXLOAD" >&6
1726 else
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1729 fi
1730
1731 fi
1732 if test ! -x "$FXLOAD"; then
1733 { { echo "$as_me:$LINENO: error: $FXLOAD not found; please install the fxload package first" >&5
1734 echo "$as_me: error: $FXLOAD not found; please install the fxload package first" >&2;}
1735 { (exit 1); exit 1; }; }
1736 fi
1737
1738 echo "$as_me:$LINENO: checking for udev version" >&5
1739 echo $ECHO_N "checking for udev version... $ECHO_C" >&6
1740 udev_ver=`udevinfo -V | awk '{ print $3 }'`
1741 if test -n "$udev_ver"; then
1742 echo "$as_me:$LINENO: result: $udev_ver" >&5
1743 echo "${ECHO_T}$udev_ver" >&6
1744 else
1745 echo "$as_me:$LINENO: result: none" >&5
1746 echo "${ECHO_T}none" >&6
1747 udev_ver="0"
1748 fi
1749 if test "$udev_ver" -lt 057; then
1750 { { echo "$as_me:$LINENO: error: udev version 057 or later is required" >&5
1751 echo "$as_me: error: udev version 057 or later is required" >&2;}
1752 { (exit 1); exit 1; }; }
1753 fi
1754
1755
1756 # Check whether --with-udev or --without-udev was given.
1757 if test "${with_udev+set}" = set; then
1758 withval="$with_udev"
1759 udev_dir="$withval"
1760 else
1761 udev_dir="/etc/udev"
1762 fi;
1763 as_ac_File=`echo "ac_cv_file_$udev_dir/udev.conf" | $as_tr_sh`
1764 echo "$as_me:$LINENO: checking for $udev_dir/udev.conf" >&5
1765 echo $ECHO_N "checking for $udev_dir/udev.conf... $ECHO_C" >&6
1766 if eval "test \"\${$as_ac_File+set}\" = set"; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1768 else
1769 test "$cross_compiling" = yes &&
1770 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1771 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1772 { (exit 1); exit 1; }; }
1773 if test -r "$udev_dir/udev.conf"; then
1774 eval "$as_ac_File=yes"
1775 else
1776 eval "$as_ac_File=no"
1777 fi
1778 fi
1779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1780 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1781 if test `eval echo '${'$as_ac_File'}'` = yes; then
1782 udev_conf="$udev_dir/udev.conf"
1783 else
1784 udev_conf=""
1785 fi
1786
1787
1788 echo "$as_me:$LINENO: checking for udev rules directory" >&5
1789 echo $ECHO_N "checking for udev rules directory... $ECHO_C" >&6
1790 udev_rules=""
1791 if test -r "$udev_conf"; then
1792 udev_rules=`. "$udev_conf"; echo "$udev_rules"`
1793 fi
1794 if test -n "$udev_rules"; then
1795 echo "$as_me:$LINENO: result: $udev_rules" >&5
1796 echo "${ECHO_T}$udev_rules" >&6
1797 else
1798 udev_rules="$udev_dir/rules.d"
1799 echo "$as_me:$LINENO: result: not found; assuming $udev_rules" >&5
1800 echo "${ECHO_T}not found; assuming $udev_rules" >&6
1801 fi
1802 if test ! -d "$udev_rules"; then
1803 { { echo "$as_me:$LINENO: error: $udev_rules not found" >&5
1804 echo "$as_me: error: $udev_rules not found" >&2;}
1805 { (exit 1); exit 1; }; }
1806 fi
1807 UDEV_RULES_DIR=$udev_rules
1808
1809
1810 ac_config_files="$ac_config_files Makefile"
1811
1812 cat >confcache <<\_ACEOF
1813 # This file is a shell script that caches the results of configure
1814 # tests run on this system so they can be shared between configure
1815 # scripts and configure runs, see configure's option --config-cache.
1816 # It is not useful on other systems. If it contains results you don't
1817 # want to keep, you may remove or edit it.
1818 #
1819 # config.status only pays attention to the cache file if you give it
1820 # the --recheck option to rerun configure.
1821 #
1822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1824 # following values.
1825
1826 _ACEOF
1827
1828 # The following way of writing the cache mishandles newlines in values,
1829 # but we know of no workaround that is simple, portable, and efficient.
1830 # So, don't put newlines in cache variables' values.
1831 # Ultrix sh set writes to stderr and can't be redirected directly,
1832 # and sets the high bit in the cache file unless we assign to the vars.
1833 {
1834 (set) 2>&1 |
1835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1836 *ac_space=\ *)
1837 # `set' does not quote correctly, so add quotes (double-quote
1838 # substitution turns \\\\ into \\, and sed turns \\ into \).
1839 sed -n \
1840 "s/'/'\\\\''/g;
1841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1842 ;;
1843 *)
1844 # `set' quotes correctly as required by POSIX, so do not add quotes.
1845 sed -n \
1846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1847 ;;
1848 esac;
1849 } |
1850 sed '
1851 t clear
1852 : clear
1853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1854 t end
1855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1856 : end' >>confcache
1857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1858 if test -w $cache_file; then
1859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1860 cat confcache >$cache_file
1861 else
1862 echo "not updating unwritable cache $cache_file"
1863 fi
1864 fi
1865 rm -f confcache
1866
1867 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1868 # Let make expand exec_prefix.
1869 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1870
1871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1873 # trailing colons and then remove the whole line if VPATH becomes empty
1874 # (actually we leave an empty line to preserve line numbers).
1875 if test "x$srcdir" = x.; then
1876 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1877 s/:*\$(srcdir):*/:/;
1878 s/:*\${srcdir}:*/:/;
1879 s/:*@srcdir@:*/:/;
1880 s/^\([^=]*=[ ]*\):*/\1/;
1881 s/:*$//;
1882 s/^[^=]*=[ ]*$//;
1883 }'
1884 fi
1885
1886 # Transform confdefs.h into DEFS.
1887 # Protect against shell expansion while executing Makefile rules.
1888 # Protect against Makefile macro expansion.
1889 #
1890 # If the first sed substitution is executed (which looks for macros that
1891 # take arguments), then we branch to the quote section. Otherwise,
1892 # look for a macro that doesn't take arguments.
1893 cat >confdef2opt.sed <<\_ACEOF
1894 t clear
1895 : clear
1896 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1897 t quote
1898 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1899 t quote
1900 d
1901 : quote
1902 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1903 s,\[,\\&,g
1904 s,\],\\&,g
1905 s,\$,$$,g
1906 p
1907 _ACEOF
1908 # We use echo to avoid assuming a particular line-breaking character.
1909 # The extra dot is to prevent the shell from consuming trailing
1910 # line-breaks from the sub-command output. A line-break within
1911 # single-quotes doesn't work because, if this script is created in a
1912 # platform that uses two characters for line-breaks (e.g., DOS), tr
1913 # would break.
1914 ac_LF_and_DOT=`echo; echo .`
1915 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1916 rm -f confdef2opt.sed
1917
1918
1919 ac_libobjs=
1920 ac_ltlibobjs=
1921 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1922 # 1. Remove the extension, and $U if already installed.
1923 ac_i=`echo "$ac_i" |
1924 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1925 # 2. Add them.
1926 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1927 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1928 done
1929 LIBOBJS=$ac_libobjs
1930
1931 LTLIBOBJS=$ac_ltlibobjs
1932
1933
1934
1935 : ${CONFIG_STATUS=./config.status}
1936 ac_clean_files_save=$ac_clean_files
1937 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1938 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1939 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1940 cat >$CONFIG_STATUS <<_ACEOF
1941 #! $SHELL
1942 # Generated by $as_me.
1943 # Run this file to recreate the current configuration.
1944 # Compiler output produced by configure, useful for debugging
1945 # configure, is in config.log if it exists.
1946
1947 debug=false
1948 ac_cs_recheck=false
1949 ac_cs_silent=false
1950 SHELL=\${CONFIG_SHELL-$SHELL}
1951 _ACEOF
1952
1953 cat >>$CONFIG_STATUS <<\_ACEOF
1954 ## --------------------- ##
1955 ## M4sh Initialization. ##
1956 ## --------------------- ##
1957
1958 # Be Bourne compatible
1959 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1960 emulate sh
1961 NULLCMD=:
1962 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1963 # is contrary to our usage. Disable this feature.
1964 alias -g '${1+"$@"}'='"$@"'
1965 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1966 set -o posix
1967 fi
1968 DUALCASE=1; export DUALCASE # for MKS sh
1969
1970 # Support unset when possible.
1971 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1972 as_unset=unset
1973 else
1974 as_unset=false
1975 fi
1976
1977
1978 # Work around bugs in pre-3.0 UWIN ksh.
1979 $as_unset ENV MAIL MAILPATH
1980 PS1='$ '
1981 PS2='> '
1982 PS4='+ '
1983
1984 # NLS nuisances.
1985 for as_var in \
1986 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1987 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1988 LC_TELEPHONE LC_TIME
1989 do
1990 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1991 eval $as_var=C; export $as_var
1992 else
1993 $as_unset $as_var
1994 fi
1995 done
1996
1997 # Required to use basename.
1998 if expr a : '\(a\)' >/dev/null 2>&1; then
1999 as_expr=expr
2000 else
2001 as_expr=false
2002 fi
2003
2004 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2005 as_basename=basename
2006 else
2007 as_basename=false
2008 fi
2009
2010
2011 # Name of the executable.
2012 as_me=`$as_basename "$0" ||
2013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2014 X"$0" : 'X\(//\)$' \| \
2015 X"$0" : 'X\(/\)$' \| \
2016 . : '\(.\)' 2>/dev/null ||
2017 echo X/"$0" |
2018 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2019 /^X\/\(\/\/\)$/{ s//\1/; q; }
2020 /^X\/\(\/\).*/{ s//\1/; q; }
2021 s/.*/./; q'`
2022
2023
2024 # PATH needs CR, and LINENO needs CR and PATH.
2025 # Avoid depending upon Character Ranges.
2026 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2029 as_cr_digits='0123456789'
2030 as_cr_alnum=$as_cr_Letters$as_cr_digits
2031
2032 # The user is always right.
2033 if test "${PATH_SEPARATOR+set}" != set; then
2034 echo "#! /bin/sh" >conf$$.sh
2035 echo "exit 0" >>conf$$.sh
2036 chmod +x conf$$.sh
2037 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2038 PATH_SEPARATOR=';'
2039 else
2040 PATH_SEPARATOR=:
2041 fi
2042 rm -f conf$$.sh
2043 fi
2044
2045
2046 as_lineno_1=$LINENO
2047 as_lineno_2=$LINENO
2048 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2049 test "x$as_lineno_1" != "x$as_lineno_2" &&
2050 test "x$as_lineno_3" = "x$as_lineno_2" || {
2051 # Find who we are. Look in the path if we contain no path at all
2052 # relative or not.
2053 case $0 in
2054 *[\\/]* ) as_myself=$0 ;;
2055 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2057 do
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2061 done
2062
2063 ;;
2064 esac
2065 # We did not find ourselves, most probably we were run as `sh COMMAND'
2066 # in which case we are not to be found in the path.
2067 if test "x$as_myself" = x; then
2068 as_myself=$0
2069 fi
2070 if test ! -f "$as_myself"; then
2071 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2072 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2073 { (exit 1); exit 1; }; }
2074 fi
2075 case $CONFIG_SHELL in
2076 '')
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2079 do
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 for as_base in sh bash ksh sh5; do
2083 case $as_dir in
2084 /*)
2085 if ("$as_dir/$as_base" -c '
2086 as_lineno_1=$LINENO
2087 as_lineno_2=$LINENO
2088 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2089 test "x$as_lineno_1" != "x$as_lineno_2" &&
2090 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2091 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2092 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2093 CONFIG_SHELL=$as_dir/$as_base
2094 export CONFIG_SHELL
2095 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2096 fi;;
2097 esac
2098 done
2099 done
2100 ;;
2101 esac
2102
2103 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2104 # uniformly replaced by the line number. The first 'sed' inserts a
2105 # line-number line before each line; the second 'sed' does the real
2106 # work. The second script uses 'N' to pair each line-number line
2107 # with the numbered line, and appends trailing '-' during
2108 # substitution so that $LINENO is not a special case at line end.
2109 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2110 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2111 sed '=' <$as_myself |
2112 sed '
2113 N
2114 s,$,-,
2115 : loop
2116 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2117 t loop
2118 s,-$,,
2119 s,^['$as_cr_digits']*\n,,
2120 ' >$as_me.lineno &&
2121 chmod +x $as_me.lineno ||
2122 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2123 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2124 { (exit 1); exit 1; }; }
2125
2126 # Don't try to exec as it changes $[0], causing all sort of problems
2127 # (the dirname of $[0] is not the place where we might find the
2128 # original and so on. Autoconf is especially sensible to this).
2129 . ./$as_me.lineno
2130 # Exit status is that of the last command.
2131 exit
2132 }
2133
2134
2135 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2136 *c*,-n*) ECHO_N= ECHO_C='
2137 ' ECHO_T=' ' ;;
2138 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2139 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2140 esac
2141
2142 if expr a : '\(a\)' >/dev/null 2>&1; then
2143 as_expr=expr
2144 else
2145 as_expr=false
2146 fi
2147
2148 rm -f conf$$ conf$$.exe conf$$.file
2149 echo >conf$$.file
2150 if ln -s conf$$.file conf$$ 2>/dev/null; then
2151 # We could just check for DJGPP; but this test a) works b) is more generic
2152 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2153 if test -f conf$$.exe; then
2154 # Don't use ln at all; we don't have any links
2155 as_ln_s='cp -p'
2156 else
2157 as_ln_s='ln -s'
2158 fi
2159 elif ln conf$$.file conf$$ 2>/dev/null; then
2160 as_ln_s=ln
2161 else
2162 as_ln_s='cp -p'
2163 fi
2164 rm -f conf$$ conf$$.exe conf$$.file
2165
2166 if mkdir -p . 2>/dev/null; then
2167 as_mkdir_p=:
2168 else
2169 test -d ./-p && rmdir ./-p
2170 as_mkdir_p=false
2171 fi
2172
2173 as_executable_p="test -f"
2174
2175 # Sed expression to map a string onto a valid CPP name.
2176 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2177
2178 # Sed expression to map a string onto a valid variable name.
2179 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2180
2181
2182 # IFS
2183 # We need space, tab and new line, in precisely that order.
2184 as_nl='
2185 '
2186 IFS=" $as_nl"
2187
2188 # CDPATH.
2189 $as_unset CDPATH
2190
2191 exec 6>&1
2192
2193 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2194 # report actual input values of CONFIG_FILES etc. instead of their
2195 # values after options handling. Logging --version etc. is OK.
2196 exec 5>>config.log
2197 {
2198 echo
2199 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2200 ## Running $as_me. ##
2201 _ASBOX
2202 } >&5
2203 cat >&5 <<_CSEOF
2204
2205 This file was extended by midisport-firmware $as_me 1.2, which was
2206 generated by GNU Autoconf 2.59. Invocation command line was
2207
2208 CONFIG_FILES = $CONFIG_FILES
2209 CONFIG_HEADERS = $CONFIG_HEADERS
2210 CONFIG_LINKS = $CONFIG_LINKS
2211 CONFIG_COMMANDS = $CONFIG_COMMANDS
2212 $ $0 $@
2213
2214 _CSEOF
2215 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2216 echo >&5
2217 _ACEOF
2218
2219 # Files that config.status was made for.
2220 if test -n "$ac_config_files"; then
2221 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2222 fi
2223
2224 if test -n "$ac_config_headers"; then
2225 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2226 fi
2227
2228 if test -n "$ac_config_links"; then
2229 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2230 fi
2231
2232 if test -n "$ac_config_commands"; then
2233 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2234 fi
2235
2236 cat >>$CONFIG_STATUS <<\_ACEOF
2237
2238 ac_cs_usage="\
2239 \`$as_me' instantiates files from templates according to the
2240 current configuration.
2241
2242 Usage: $0 [OPTIONS] [FILE]...
2243
2244 -h, --help print this help, then exit
2245 -V, --version print version number, then exit
2246 -q, --quiet do not print progress messages
2247 -d, --debug don't remove temporary files
2248 --recheck update $as_me by reconfiguring in the same conditions
2249 --file=FILE[:TEMPLATE]
2250 instantiate the configuration file FILE
2251
2252 Configuration files:
2253 $config_files
2254
2255 Report bugs to <[email protected]>."
2256 _ACEOF
2257
2258 cat >>$CONFIG_STATUS <<_ACEOF
2259 ac_cs_version="\\
2260 midisport-firmware config.status 1.2
2261 configured by $0, generated by GNU Autoconf 2.59,
2262 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2263
2264 Copyright (C) 2003 Free Software Foundation, Inc.
2265 This config.status script is free software; the Free Software Foundation
2266 gives unlimited permission to copy, distribute and modify it."
2267 srcdir=$srcdir
2268 INSTALL="$INSTALL"
2269 _ACEOF
2270
2271 cat >>$CONFIG_STATUS <<\_ACEOF
2272 # If no file are specified by the user, then we need to provide default
2273 # value. By we need to know if files were specified by the user.
2274 ac_need_defaults=:
2275 while test $# != 0
2276 do
2277 case $1 in
2278 --*=*)
2279 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2280 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2281 ac_shift=:
2282 ;;
2283 -*)
2284 ac_option=$1
2285 ac_optarg=$2
2286 ac_shift=shift
2287 ;;
2288 *) # This is not an option, so the user has probably given explicit
2289 # arguments.
2290 ac_option=$1
2291 ac_need_defaults=false;;
2292 esac
2293
2294 case $ac_option in
2295 # Handling of the options.
2296 _ACEOF
2297 cat >>$CONFIG_STATUS <<\_ACEOF
2298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2299 ac_cs_recheck=: ;;
2300 --version | --vers* | -V )
2301 echo "$ac_cs_version"; exit 0 ;;
2302 --he | --h)
2303 # Conflict between --help and --header
2304 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2305 Try \`$0 --help' for more information." >&5
2306 echo "$as_me: error: ambiguous option: $1
2307 Try \`$0 --help' for more information." >&2;}
2308 { (exit 1); exit 1; }; };;
2309 --help | --hel | -h )
2310 echo "$ac_cs_usage"; exit 0 ;;
2311 --debug | --d* | -d )
2312 debug=: ;;
2313 --file | --fil | --fi | --f )
2314 $ac_shift
2315 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2316 ac_need_defaults=false;;
2317 --header | --heade | --head | --hea )
2318 $ac_shift
2319 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2320 ac_need_defaults=false;;
2321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2322 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2323 ac_cs_silent=: ;;
2324
2325 # This is an error.
2326 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2327 Try \`$0 --help' for more information." >&5
2328 echo "$as_me: error: unrecognized option: $1
2329 Try \`$0 --help' for more information." >&2;}
2330 { (exit 1); exit 1; }; } ;;
2331
2332 *) ac_config_targets="$ac_config_targets $1" ;;
2333
2334 esac
2335 shift
2336 done
2337
2338 ac_configure_extra_args=
2339
2340 if $ac_cs_silent; then
2341 exec 6>/dev/null
2342 ac_configure_extra_args="$ac_configure_extra_args --silent"
2343 fi
2344
2345 _ACEOF
2346 cat >>$CONFIG_STATUS <<_ACEOF
2347 if \$ac_cs_recheck; then
2348 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2349 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2350 fi
2351
2352 _ACEOF
2353
2354
2355
2356
2357
2358 cat >>$CONFIG_STATUS <<\_ACEOF
2359 for ac_config_target in $ac_config_targets
2360 do
2361 case "$ac_config_target" in
2362 # Handling of arguments.
2363 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2364 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2365 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2366 { (exit 1); exit 1; }; };;
2367 esac
2368 done
2369
2370 # If the user did not use the arguments to specify the items to instantiate,
2371 # then the envvar interface is used. Set only those that are not.
2372 # We use the long form for the default assignment because of an extremely
2373 # bizarre bug on SunOS 4.1.3.
2374 if $ac_need_defaults; then
2375 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2376 fi
2377
2378 # Have a temporary directory for convenience. Make it in the build tree
2379 # simply because there is no reason to put it here, and in addition,
2380 # creating and moving files from /tmp can sometimes cause problems.
2381 # Create a temporary directory, and hook for its removal unless debugging.
2382 $debug ||
2383 {
2384 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2385 trap '{ (exit 1); exit 1; }' 1 2 13 15
2386 }
2387
2388 # Create a (secure) tmp directory for tmp files.
2389
2390 {
2391 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2392 test -n "$tmp" && test -d "$tmp"
2393 } ||
2394 {
2395 tmp=./confstat$$-$RANDOM
2396 (umask 077 && mkdir $tmp)
2397 } ||
2398 {
2399 echo "$me: cannot create a temporary directory in ." >&2
2400 { (exit 1); exit 1; }
2401 }
2402
2403 _ACEOF
2404
2405 cat >>$CONFIG_STATUS <<_ACEOF
2406
2407 #
2408 # CONFIG_FILES section.
2409 #
2410
2411 # No need to generate the scripts if there are no CONFIG_FILES.
2412 # This happens for instance when ./config.status config.h
2413 if test -n "\$CONFIG_FILES"; then
2414 # Protect against being on the right side of a sed subst in config.status.
2415 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2416 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2417 s,@SHELL@,$SHELL,;t t
2418 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2419 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2420 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2421 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2422 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2423 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2424 s,@exec_prefix@,$exec_prefix,;t t
2425 s,@prefix@,$prefix,;t t
2426 s,@program_transform_name@,$program_transform_name,;t t
2427 s,@bindir@,$bindir,;t t
2428 s,@sbindir@,$sbindir,;t t
2429 s,@libexecdir@,$libexecdir,;t t
2430 s,@datadir@,$datadir,;t t
2431 s,@sysconfdir@,$sysconfdir,;t t
2432 s,@sharedstatedir@,$sharedstatedir,;t t
2433 s,@localstatedir@,$localstatedir,;t t
2434 s,@libdir@,$libdir,;t t
2435 s,@includedir@,$includedir,;t t
2436 s,@oldincludedir@,$oldincludedir,;t t
2437 s,@infodir@,$infodir,;t t
2438 s,@mandir@,$mandir,;t t
2439 s,@build_alias@,$build_alias,;t t
2440 s,@host_alias@,$host_alias,;t t
2441 s,@target_alias@,$target_alias,;t t
2442 s,@DEFS@,$DEFS,;t t
2443 s,@ECHO_C@,$ECHO_C,;t t
2444 s,@ECHO_N@,$ECHO_N,;t t
2445 s,@ECHO_T@,$ECHO_T,;t t
2446 s,@LIBS@,$LIBS,;t t
2447 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2448 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2449 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2450 s,@CYGPATH_W@,$CYGPATH_W,;t t
2451 s,@PACKAGE@,$PACKAGE,;t t
2452 s,@VERSION@,$VERSION,;t t
2453 s,@ACLOCAL@,$ACLOCAL,;t t
2454 s,@AUTOCONF@,$AUTOCONF,;t t
2455 s,@AUTOMAKE@,$AUTOMAKE,;t t
2456 s,@AUTOHEADER@,$AUTOHEADER,;t t
2457 s,@MAKEINFO@,$MAKEINFO,;t t
2458 s,@AMTAR@,$AMTAR,;t t
2459 s,@install_sh@,$install_sh,;t t
2460 s,@STRIP@,$STRIP,;t t
2461 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2462 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2463 s,@mkdir_p@,$mkdir_p,;t t
2464 s,@AWK@,$AWK,;t t
2465 s,@SET_MAKE@,$SET_MAKE,;t t
2466 s,@am__leading_dot@,$am__leading_dot,;t t
2467 s,@FXLOAD@,$FXLOAD,;t t
2468 s,@UDEV_RULES_DIR@,$UDEV_RULES_DIR,;t t
2469 s,@LIBOBJS@,$LIBOBJS,;t t
2470 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2471 CEOF
2472
2473 _ACEOF
2474
2475 cat >>$CONFIG_STATUS <<\_ACEOF
2476 # Split the substitutions into bite-sized pieces for seds with
2477 # small command number limits, like on Digital OSF/1 and HP-UX.
2478 ac_max_sed_lines=48
2479 ac_sed_frag=1 # Number of current file.
2480 ac_beg=1 # First line for current file.
2481 ac_end=$ac_max_sed_lines # Line after last line for current file.
2482 ac_more_lines=:
2483 ac_sed_cmds=
2484 while $ac_more_lines; do
2485 if test $ac_beg -gt 1; then
2486 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2487 else
2488 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2489 fi
2490 if test ! -s $tmp/subs.frag; then
2491 ac_more_lines=false
2492 else
2493 # The purpose of the label and of the branching condition is to
2494 # speed up the sed processing (if there are no `@' at all, there
2495 # is no need to browse any of the substitutions).
2496 # These are the two extra sed commands mentioned above.
2497 (echo ':t
2498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2499 if test -z "$ac_sed_cmds"; then
2500 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2501 else
2502 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2503 fi
2504 ac_sed_frag=`expr $ac_sed_frag + 1`
2505 ac_beg=$ac_end
2506 ac_end=`expr $ac_end + $ac_max_sed_lines`
2507 fi
2508 done
2509 if test -z "$ac_sed_cmds"; then
2510 ac_sed_cmds=cat
2511 fi
2512 fi # test -n "$CONFIG_FILES"
2513
2514 _ACEOF
2515 cat >>$CONFIG_STATUS <<\_ACEOF
2516 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2518 case $ac_file in
2519 - | *:- | *:-:* ) # input from stdin
2520 cat >$tmp/stdin
2521 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2522 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2523 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2524 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2525 * ) ac_file_in=$ac_file.in ;;
2526 esac
2527
2528 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2529 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2531 X"$ac_file" : 'X\(//\)[^/]' \| \
2532 X"$ac_file" : 'X\(//\)$' \| \
2533 X"$ac_file" : 'X\(/\)' \| \
2534 . : '\(.\)' 2>/dev/null ||
2535 echo X"$ac_file" |
2536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2538 /^X\(\/\/\)$/{ s//\1/; q; }
2539 /^X\(\/\).*/{ s//\1/; q; }
2540 s/.*/./; q'`
2541 { if $as_mkdir_p; then
2542 mkdir -p "$ac_dir"
2543 else
2544 as_dir="$ac_dir"
2545 as_dirs=
2546 while test ! -d "$as_dir"; do
2547 as_dirs="$as_dir $as_dirs"
2548 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2550 X"$as_dir" : 'X\(//\)[^/]' \| \
2551 X"$as_dir" : 'X\(//\)$' \| \
2552 X"$as_dir" : 'X\(/\)' \| \
2553 . : '\(.\)' 2>/dev/null ||
2554 echo X"$as_dir" |
2555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2557 /^X\(\/\/\)$/{ s//\1/; q; }
2558 /^X\(\/\).*/{ s//\1/; q; }
2559 s/.*/./; q'`
2560 done
2561 test ! -n "$as_dirs" || mkdir $as_dirs
2562 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2563 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2564 { (exit 1); exit 1; }; }; }
2565
2566 ac_builddir=.
2567
2568 if test "$ac_dir" != .; then
2569 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2570 # A "../" for each directory in $ac_dir_suffix.
2571 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2572 else
2573 ac_dir_suffix= ac_top_builddir=
2574 fi
2575
2576 case $srcdir in
2577 .) # No --srcdir option. We are building in place.
2578 ac_srcdir=.
2579 if test -z "$ac_top_builddir"; then
2580 ac_top_srcdir=.
2581 else
2582 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2583 fi ;;
2584 [\\/]* | ?:[\\/]* ) # Absolute path.
2585 ac_srcdir=$srcdir$ac_dir_suffix;
2586 ac_top_srcdir=$srcdir ;;
2587 *) # Relative path.
2588 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2589 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2590 esac
2591
2592 # Do not use `cd foo && pwd` to compute absolute paths, because
2593 # the directories may not exist.
2594 case `pwd` in
2595 .) ac_abs_builddir="$ac_dir";;
2596 *)
2597 case "$ac_dir" in
2598 .) ac_abs_builddir=`pwd`;;
2599 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2600 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2601 esac;;
2602 esac
2603 case $ac_abs_builddir in
2604 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2605 *)
2606 case ${ac_top_builddir}. in
2607 .) ac_abs_top_builddir=$ac_abs_builddir;;
2608 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2609 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2610 esac;;
2611 esac
2612 case $ac_abs_builddir in
2613 .) ac_abs_srcdir=$ac_srcdir;;
2614 *)
2615 case $ac_srcdir in
2616 .) ac_abs_srcdir=$ac_abs_builddir;;
2617 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2618 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2619 esac;;
2620 esac
2621 case $ac_abs_builddir in
2622 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2623 *)
2624 case $ac_top_srcdir in
2625 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2626 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2627 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2628 esac;;
2629 esac
2630
2631
2632 case $INSTALL in
2633 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2634 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2635 esac
2636
2637 if test x"$ac_file" != x-; then
2638 { echo "$as_me:$LINENO: creating $ac_file" >&5
2639 echo "$as_me: creating $ac_file" >&6;}
2640 rm -f "$ac_file"
2641 fi
2642 # Let's still pretend it is `configure' which instantiates (i.e., don't
2643 # use $as_me), people would be surprised to read:
2644 # /* config.h. Generated by config.status. */
2645 if test x"$ac_file" = x-; then
2646 configure_input=
2647 else
2648 configure_input="$ac_file. "
2649 fi
2650 configure_input=$configure_input"Generated from `echo $ac_file_in |
2651 sed 's,.*/,,'` by configure."
2652
2653 # First look for the input files in the build tree, otherwise in the
2654 # src tree.
2655 ac_file_inputs=`IFS=:
2656 for f in $ac_file_in; do
2657 case $f in
2658 -) echo $tmp/stdin ;;
2659 [\\/$]*)
2660 # Absolute (can't be DOS-style, as IFS=:)
2661 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2662 echo "$as_me: error: cannot find input file: $f" >&2;}
2663 { (exit 1); exit 1; }; }
2664 echo "$f";;
2665 *) # Relative
2666 if test -f "$f"; then
2667 # Build tree
2668 echo "$f"
2669 elif test -f "$srcdir/$f"; then
2670 # Source tree
2671 echo "$srcdir/$f"
2672 else
2673 # /dev/null tree
2674 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2675 echo "$as_me: error: cannot find input file: $f" >&2;}
2676 { (exit 1); exit 1; }; }
2677 fi;;
2678 esac
2679 done` || { (exit 1); exit 1; }
2680 _ACEOF
2681 cat >>$CONFIG_STATUS <<_ACEOF
2682 sed "$ac_vpsub
2683 $extrasub
2684 _ACEOF
2685 cat >>$CONFIG_STATUS <<\_ACEOF
2686 :t
2687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2688 s,@configure_input@,$configure_input,;t t
2689 s,@srcdir@,$ac_srcdir,;t t
2690 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2691 s,@top_srcdir@,$ac_top_srcdir,;t t
2692 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2693 s,@builddir@,$ac_builddir,;t t
2694 s,@abs_builddir@,$ac_abs_builddir,;t t
2695 s,@top_builddir@,$ac_top_builddir,;t t
2696 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2697 s,@INSTALL@,$ac_INSTALL,;t t
2698 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2699 rm -f $tmp/stdin
2700 if test x"$ac_file" != x-; then
2701 mv $tmp/out $ac_file
2702 else
2703 cat $tmp/out
2704 rm -f $tmp/out
2705 fi
2706
2707 done
2708 _ACEOF
2709
2710 cat >>$CONFIG_STATUS <<\_ACEOF
2711
2712 { (exit 0); exit 0; }
2713 _ACEOF
2714 chmod +x $CONFIG_STATUS
2715 ac_clean_files=$ac_clean_files_save
2716
2717
2718 # configure is writing to config.log, and then calls config.status.
2719 # config.status does its own redirection, appending to config.log.
2720 # Unfortunately, on DOS this fails, as config.log is still kept open
2721 # by configure, so config.status won't be able to write to it; its
2722 # output is simply discarded. So we exec the FD to /dev/null,
2723 # effectively closing config.log, so it can be properly (re)opened and
2724 # appended to by config.status. When coming back to configure, we
2725 # need to make the FD available again.
2726 if test "$no_create" != yes; then
2727 ac_cs_success=:
2728 ac_config_status_args=
2729 test "$silent" = yes &&
2730 ac_config_status_args="$ac_config_status_args --quiet"
2731 exec 5>/dev/null
2732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2733 exec 5>>config.log
2734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2735 # would make configure fail if this is the last instruction.
2736 $ac_cs_success || { (exit 1); exit 1; }
2737 fi
2738