Merge lp:~neil-aldur/ubuntu/karmic/madfuload/madfuload-fixes into lp:ubuntu/karmic/madfuload

Proposed by Neil Wilson
Status: Merged
Merge reported by: Neil Wilson
Merged at revision: not available
Proposed branch: lp:~neil-aldur/ubuntu/karmic/madfuload/madfuload-fixes
Merge into: lp:ubuntu/karmic/madfuload
Diff against target: None lines
To merge this branch: bzr merge lp:~neil-aldur/ubuntu/karmic/madfuload/madfuload-fixes
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+10903@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Neil Wilson (neil-aldur) wrote :

This update tidies up the package and fixes outstanding bugs.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Have you forwarded your changes to Debian? The package
comes from there, so we would want to push the changes
back there.

Thanks,

James

Revision history for this message
Neil Wilson (neil-aldur) wrote :

> Hi,
>
> Have you forwarded your changes to Debian? The package
> comes from there, so we would want to push the changes
> back there.

Pushed as Debbug 547336 and linked to Launchpad bug 330573

Can this be sponsored now and merged into Ubuntu?

Revision history for this message
James Westby (james-w) wrote :

> Pushed as Debbug 547336 and linked to Launchpad bug 330573

Great, thanks.

> Can this be sponsored now and merged into Ubuntu?

Yes, it could.

My main concern is with the transition to dh7, and also the
addition of quilt. These are not normally things that we
do in updates to packages in Debian. While it may be an
improvement, it's easy to mask bugs, and if Debian doesn't
follow suit we only end up throwing the work away again.

It also means that it takes longer to review the change.

Thanks,

James

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Merged upstream.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '42-madfuload.rules.in'
--- 42-madfuload.rules.in 2009-04-01 09:40:00 +0000
+++ 42-madfuload.rules.in 2009-08-18 20:47:37 +0000
@@ -4,14 +4,14 @@
4# (some udev versions don't work with SYSFS{bInterfaceNumber})4# (some udev versions don't work with SYSFS{bInterfaceNumber})
55
6# Audiophile6# Audiophile
7ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2803/*", RUN+="@sbindir@/madfuload -l -n -f @firmwaredir@/ma003101.bin -D $root/$name"7ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2803/*", RUN+="@sbindir@/madfuload -l -n -f @firmwaredir@/ma003101.bin"
8# MobilePre8# MobilePre
9ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2804/*", RUN+="@sbindir@/madfuload -l -3 -f @firmwaredir@/ma004103.bin -D $root/$name"9ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2804/*", RUN+="@sbindir@/madfuload -l -3 -f @firmwaredir@/ma004103.bin"
10# Sonica10# Sonica
11ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2805/*", RUN+="@sbindir@/madfuload -l -n -f @firmwaredir@/ma005101.bin -D $root/$name"11ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2805/*", RUN+="@sbindir@/madfuload -l -n -f @firmwaredir@/ma005101.bin"
12# Transit12# Transit
13ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2806/*", RUN+="@sbindir@/madfuload -l -3 -f @firmwaredir@/ma006100.bin -D $root/$name"13ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2806/*", RUN+="@sbindir@/madfuload -l -3 -f @firmwaredir@/ma006100.bin"
14# Ozone14# Ozone
15ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2808/*", RUN+="@sbindir@/madfuload -l -3 -f @firmwaredir@/ma008100.bin -D $root/$name"15ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/2808/*", RUN+="@sbindir@/madfuload -l -3 -f @firmwaredir@/ma008100.bin"
1616
17# vim: ft=conf17# vim: ft=conf
1818
=== modified file 'Makefile.am'
--- Makefile.am 2009-01-12 18:42:59 +0000
+++ Makefile.am 2009-08-18 20:47:37 +0000
@@ -1,7 +1,7 @@
1## Process this file with automake to generate Makefile.in1## Process this file with automake to generate Makefile.in
2AUTOMAKE_OPTIONS = foreign2AUTOMAKE_OPTIONS = foreign
33
4udevrulesdir = /lib/udev/rules.d4udevrulesdir = @UDEV_RULES_DIR@
5firmwaredir = $(datadir)/usb/maudio5firmwaredir = $(datadir)/usb/maudio
66
7sbin_PROGRAMS = madfuload7sbin_PROGRAMS = madfuload
88
=== modified file 'Makefile.in'
--- Makefile.in 2009-01-12 18:42:59 +0000
+++ Makefile.in 2009-08-20 06:58:27 +0000
@@ -121,6 +121,7 @@
121SET_MAKE = @SET_MAKE@121SET_MAKE = @SET_MAKE@
122SHELL = @SHELL@122SHELL = @SHELL@
123STRIP = @STRIP@123STRIP = @STRIP@
124UDEV_RULES_DIR = @UDEV_RULES_DIR@
124VERSION = @VERSION@125VERSION = @VERSION@
125ac_ct_CC = @ac_ct_CC@126ac_ct_CC = @ac_ct_CC@
126ac_ct_STRIP = @ac_ct_STRIP@127ac_ct_STRIP = @ac_ct_STRIP@
@@ -150,7 +151,7 @@
150sysconfdir = @sysconfdir@151sysconfdir = @sysconfdir@
151target_alias = @target_alias@152target_alias = @target_alias@
152AUTOMAKE_OPTIONS = foreign153AUTOMAKE_OPTIONS = foreign
153udevrulesdir = /lib/udev/rules.d154udevrulesdir = @UDEV_RULES_DIR@
154firmwaredir = $(datadir)/usb/maudio155firmwaredir = $(datadir)/usb/maudio
155madfuload_SOURCES = madfuload.c156madfuload_SOURCES = madfuload.c
156udevrules_DATA = 42-madfuload.rules157udevrules_DATA = 42-madfuload.rules
157158
=== modified file 'configure'
--- configure 2009-01-12 18:42:59 +0000
+++ configure 2009-08-20 06:58:27 +0000
@@ -1,57 +1,28 @@
1#! /bin/sh1#! /bin/sh
2# From configure.ac Revision.2# From configure.ac Revision.
3# Guess values for system-dependent variables and create Makefiles.3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.61 for madfuload 1.2.4# Generated by GNU Autoconf 2.59 for madfuload 1.2.
5#5#
6# Report bugs to <usb-midi-fw-user@lists.sourceforge.net>.6# Report bugs to <usb-midi-fw-user@lists.sourceforge.net>.
7#7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,8# Copyright (C) 2003 Free Software Foundation, Inc.
9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation9# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.10# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##11## --------------------- ##
13## M4sh Initialization. ##12## M4sh Initialization. ##
14## --------------------- ##13## --------------------- ##
1514
16# Be more Bourne compatible15# Be Bourne compatible
16if 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+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24fi
17DUALCASE=1; export DUALCASE # for MKS sh25DUALCASE=1; export DUALCASE # for MKS sh
18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28esac
29
30fi
31
32
33
34
35# PATH needs CR
36# Avoid depending upon Character Ranges.
37as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40as_cr_digits='0123456789'
41as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43# The user is always right.
44if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54fi
5526
56# Support unset when possible.27# Support unset when possible.
57if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
@@ -61,43 +32,8 @@
61fi32fi
6233
6334
64# IFS
65# We need space, tab and new line, in precisely that order. Quoting is
66# there to prevent editors from complaining about space-tab.
67# (If _AS_PATH_WALK were called with IFS unset, it would disable word
68# splitting by setting IFS to empty value.)
69as_nl='
70'
71IFS=" "" $as_nl"
72
73# Find who we are. Look in the path if we contain no directory separator.
74case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77for as_dir in $PATH
78do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82done
83IFS=$as_save_IFS
84
85 ;;
86esac
87# We did not find ourselves, most probably we were run as `sh COMMAND'
88# in which case we are not to be found in the path.
89if test "x$as_myself" = x; then
90 as_myself=$0
91fi
92if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95fi
96
97# Work around bugs in pre-3.0 UWIN ksh.35# Work around bugs in pre-3.0 UWIN ksh.
98for as_var in ENV MAIL MAILPATH36$as_unset ENV MAIL MAILPATH
99do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100done
101PS1='$ '37PS1='$ '
102PS2='> '38PS2='> '
103PS4='+ '39PS4='+ '
@@ -111,19 +47,18 @@
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var48 eval $as_var=C; export $as_var
113 else49 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var50 $as_unset $as_var
115 fi51 fi
116done52done
11753
118# Required to use basename.54# Required to use basename.
119if expr a : '\(a\)' >/dev/null 2>&1 &&55if expr a : '\(a\)' >/dev/null 2>&1; then
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr56 as_expr=expr
122else57else
123 as_expr=false58 as_expr=false
124fi59fi
12560
126if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
127 as_basename=basename62 as_basename=basename
128else63else
129 as_basename=false64 as_basename=false
@@ -131,388 +66,157 @@
13166
13267
133# Name of the executable.68# Name of the executable.
134as_me=`$as_basename -- "$0" ||69as_me=`$as_basename "$0" ||
135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \71 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
138echo X/"$0" |74echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
140 s//\1/76 /^X\/\(\/\/\)$/{ s//\1/; q; }
141 q77 /^X\/\(\/\).*/{ s//\1/; q; }
142 }78 s/.*/./; q'`
143 /^X\/\(\/\/\)$/{79
144 s//\1/80
145 q81# PATH needs CR, and LINENO needs CR and PATH.
146 }82# Avoid depending upon Character Ranges.
147 /^X\/\(\/\).*/{83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
148 s//\1/84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
149 q85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
150 }86as_cr_digits='0123456789'
151 s/.*/./; q'`87as_cr_alnum=$as_cr_Letters$as_cr_digits
15288
153# CDPATH.89# The user is always right.
154$as_unset CDPATH90if test "${PATH_SEPARATOR+set}" != set; then
15591 echo "#! /bin/sh" >conf$$.sh
15692 echo "exit 0" >>conf$$.sh
157if test "x$CONFIG_SHELL" = x; then93 chmod +x conf$$.sh
158 if (eval ":") 2>/dev/null; then94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
159 as_have_required=yes95 PATH_SEPARATOR=';'
160else96 else
161 as_have_required=no97 PATH_SEPARATOR=:
162fi98 fi
16399 rm -f conf$$.sh
164 if test $as_have_required = yes && (eval ":100fi
165(as_func_return () {101
166 (exit \$1)102
167}103 as_lineno_1=$LINENO
168as_func_success () {104 as_lineno_2=$LINENO
169 as_func_return 0105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
170}106 test "x$as_lineno_1" != "x$as_lineno_2" &&
171as_func_failure () {107 test "x$as_lineno_3" = "x$as_lineno_2" || {
172 as_func_return 1108 # Find who we are. Look in the path if we contain no path at all
173}109 # relative or not.
174as_func_ret_success () {110 case $0 in
175 return 0111 *[\\/]* ) as_myself=$0 ;;
176}112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
177as_func_ret_failure () {113for as_dir in $PATH
178 return 1114do
179}115 IFS=$as_save_IFS
180116 test -z "$as_dir" && as_dir=.
181exitcode=0117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
182if as_func_success; then118done
183 :119
184else120 ;;
185 exitcode=1121 esac
186 echo as_func_success failed.122 # We did not find ourselves, most probably we were run as `sh COMMAND'
187fi123 # in which case we are not to be found in the path.
188124 if test "x$as_myself" = x; then
189if as_func_failure; then125 as_myself=$0
190 exitcode=1126 fi
191 echo as_func_failure succeeded.127 if test ! -f "$as_myself"; then
192fi128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
193129 { (exit 1); exit 1; }; }
194if as_func_ret_success; then130 fi
195 :131 case $CONFIG_SHELL in
196else132 '')
197 exitcode=1
198 echo as_func_ret_success failed.
199fi
200
201if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204fi
205
206if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208else
209 exitcode=1
210 echo positional parameters were not saved.
211fi
212
213test \$exitcode = 0) || { (exit 1); exit 1; }
214
215(
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220") 2> /dev/null; then
221 :
222else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226do135do
227 IFS=$as_save_IFS136 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.137 test -z "$as_dir" && as_dir=.
229 case $as_dir in138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
230 /*)140 /*)
231 for as_base in sh bash ksh sh5; do141 if ("$as_dir/$as_base" -c '
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"142 as_lineno_1=$LINENO
233 done;;143 as_lineno_2=$LINENO
234 esac144 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
235done155done
236IFS=$as_save_IFS156;;
237157 esac
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253esac
254
255fi
256
257
258:
259_ASEOF
260}; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274esac
275
276fi
277
278
279:
280(as_func_return () {
281 (exit $1)
282}
283as_func_success () {
284 as_func_return 0
285}
286as_func_failure () {
287 as_func_return 1
288}
289as_func_ret_success () {
290 return 0
291}
292as_func_ret_failure () {
293 return 1
294}
295
296exitcode=0
297if as_func_success; then
298 :
299else
300 exitcode=1
301 echo as_func_success failed.
302fi
303
304if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307fi
308
309if as_func_ret_success; then
310 :
311else
312 exitcode=1
313 echo as_func_ret_success failed.
314fi
315
316if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319fi
320
321if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323else
324 exitcode=1
325 echo positional parameters were not saved.
326fi
327
328test $exitcode = 0) || { (exit 1); exit 1; }
329
330(
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336_ASEOF
337}; then
338 break
339fi
340
341fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360fi
361
362
363fi
364
365fi
366
367
368
369(eval "as_func_return () {
370 (exit \$1)
371}
372as_func_success () {
373 as_func_return 0
374}
375as_func_failure () {
376 as_func_return 1
377}
378as_func_ret_success () {
379 return 0
380}
381as_func_ret_failure () {
382 return 1
383}
384
385exitcode=0
386if as_func_success; then
387 :
388else
389 exitcode=1
390 echo as_func_success failed.
391fi
392
393if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396fi
397
398if as_func_ret_success; then
399 :
400else
401 exitcode=1
402 echo as_func_ret_success failed.
403fi
404
405if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408fi
409
410if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412else
413 exitcode=1
414 echo positional parameters were not saved.
415fi
416
417test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422}
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430158
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a160 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'161 # line-number line before each line; the second 'sed' does the real
434 # does the real work. The second script uses 'N' to pair each162 # work. The second script uses 'N' to pair each line-number line
435 # line-number line with the line containing $LINENO, and appends163 # with the numbered line, and appends trailing '-' during
436 # trailing '-' during substitution so that $LINENO is not a special164 # substitution so that $LINENO is not a special case at line end.
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
440 # E. McMahon (1931-1989) for sed's syntax. :-)167 sed '=' <$as_myself |
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '168 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N169 N
451 :loop170 s,$,-,
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
453 t loop173 t loop
454 s/-\n.*//174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
455 ' >$as_me.lineno &&176 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||177 chmod +x $as_me.lineno ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }179 { (exit 1); exit 1; }; }
459180
460 # Don't try to exec as it changes $[0], causing all sort of problems181 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the182 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).183 # original and so on. Autoconf is especially sensible to this).
463 . "./$as_me.lineno"184 . ./$as_me.lineno
464 # Exit status is that of the last command.185 # Exit status is that of the last command.
465 exit186 exit
466}187}
467188
468189
469if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
470 as_dirname=dirname191 *c*,-n*) ECHO_N= ECHO_C='
471else192' ECHO_T=' ' ;;
472 as_dirname=false193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
473fi194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
474
475ECHO_C= ECHO_N= ECHO_T=
476case `echo -n x` in
477-n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482*)
483 ECHO_N='-n';;
484esac195esac
485196
486if expr a : '\(a\)' >/dev/null 2>&1 &&197if expr a : '\(a\)' >/dev/null 2>&1; then
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr198 as_expr=expr
489else199else
490 as_expr=false200 as_expr=false
491fi201fi
492202
493rm -f conf$$ conf$$.exe conf$$.file203rm -f conf$$ conf$$.exe conf$$.file
494if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499fi
500echo >conf$$.file204echo >conf$$.file
501if ln -s conf$$.file conf$$ 2>/dev/null; then205if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'206 # We could just check for DJGPP; but this test a) works b) is more generic
503 # ... but there are two gotchas:207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.208 if test -f conf$$.exe; then
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.209 # Don't use ln at all; we don't have any links
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
509elif ln conf$$.file conf$$ 2>/dev/null; then214elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln215 as_ln_s=ln
511else216else
512 as_ln_s='cp -p'217 as_ln_s='cp -p'
513fi218fi
514rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file219rm -f conf$$ conf$$.exe conf$$.file
515rmdir conf$$.dir 2>/dev/null
516220
517if mkdir -p . 2>/dev/null; then221if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:222 as_mkdir_p=:
@@ -521,28 +225,7 @@
521 as_mkdir_p=false225 as_mkdir_p=false
522fi226fi
523227
524if test -x / >/dev/null 2>&1; then228as_executable_p="test -f"
525 as_test_x='test -x'
526else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544fi
545as_executable_p=$as_test_x
546229
547# Sed expression to map a string onto a valid CPP name.230# Sed expression to map a string onto a valid CPP name.
548as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"231as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -551,27 +234,39 @@
551as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"234as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552235
553236
554237# IFS
555exec 7<&0 </dev/null 6>&1238# We need space, tab and new line, in precisely that order.
239as_nl='
240'
241IFS=" $as_nl"
242
243# CDPATH.
244$as_unset CDPATH
245
556246
557# Name of the host.247# Name of the host.
558# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,248# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559# so uname gets run too.249# so uname gets run too.
560ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`250ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561251
252exec 6>&1
253
562#254#
563# Initializations.255# Initializations.
564#256#
565ac_default_prefix=/usr/local257ac_default_prefix=/usr/local
566ac_clean_files=
567ac_config_libobj_dir=.258ac_config_libobj_dir=.
568LIBOBJS=
569cross_compiling=no259cross_compiling=no
570subdirs=260subdirs=
571MFLAGS=261MFLAGS=
572MAKEFLAGS=262MAKEFLAGS=
573SHELL=${CONFIG_SHELL-/bin/sh}263SHELL=${CONFIG_SHELL-/bin/sh}
574264
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
575# Identity of this package.270# Identity of this package.
576PACKAGE_NAME='madfuload'271PACKAGE_NAME='madfuload'
577PACKAGE_TARNAME='madfuload'272PACKAGE_TARNAME='madfuload'
@@ -580,90 +275,8 @@
580PACKAGE_BUGREPORT='usb-midi-fw-user@lists.sourceforge.net'275PACKAGE_BUGREPORT='usb-midi-fw-user@lists.sourceforge.net'
581276
582ac_unique_file="madfuload.c"277ac_unique_file="madfuload.c"
583ac_subst_vars='SHELL278ac_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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE UDEV_RULES_DIR LIBOBJS LTLIBOBJS'
584PATH_SEPARATOR
585PACKAGE_NAME
586PACKAGE_TARNAME
587PACKAGE_VERSION
588PACKAGE_STRING
589PACKAGE_BUGREPORT
590exec_prefix
591prefix
592program_transform_name
593bindir
594sbindir
595libexecdir
596datarootdir
597datadir
598sysconfdir
599sharedstatedir
600localstatedir
601includedir
602oldincludedir
603docdir
604infodir
605htmldir
606dvidir
607pdfdir
608psdir
609libdir
610localedir
611mandir
612DEFS
613ECHO_C
614ECHO_N
615ECHO_T
616LIBS
617build_alias
618host_alias
619target_alias
620INSTALL_PROGRAM
621INSTALL_SCRIPT
622INSTALL_DATA
623CYGPATH_W
624PACKAGE
625VERSION
626ACLOCAL
627AUTOCONF
628AUTOMAKE
629AUTOHEADER
630MAKEINFO
631AMTAR
632install_sh
633STRIP
634INSTALL_STRIP_PROGRAM
635mkdir_p
636AWK
637SET_MAKE
638am__leading_dot
639CC
640CFLAGS
641LDFLAGS
642CPPFLAGS
643ac_ct_CC
644EXEEXT
645OBJEXT
646DEPDIR
647am__include
648am__quote
649AMDEP_TRUE
650AMDEP_FALSE
651AMDEPBACKSLASH
652CCDEPMODE
653am__fastdepCC_TRUE
654am__fastdepCC_FALSE
655LIBOBJS
656LTLIBOBJS'
657ac_subst_files=''279ac_subst_files=''
658 ac_precious_vars='build_alias
659host_alias
660target_alias
661CC
662CFLAGS
663LDFLAGS
664LIBS
665CPPFLAGS'
666
667280
668# Initialize some variables set by options.281# Initialize some variables set by options.
669ac_init_help=282ac_init_help=
@@ -690,48 +303,34 @@
690# and all the variables that are supposed to be based on exec_prefix303# and all the variables that are supposed to be based on exec_prefix
691# by default will actually change.304# by default will actually change.
692# Use braces instead of parens because sh, perl, etc. also accept them.305# Use braces instead of parens because sh, perl, etc. also accept them.
693# (The list follows the same order as the GNU Coding Standards.)
694bindir='${exec_prefix}/bin'306bindir='${exec_prefix}/bin'
695sbindir='${exec_prefix}/sbin'307sbindir='${exec_prefix}/sbin'
696libexecdir='${exec_prefix}/libexec'308libexecdir='${exec_prefix}/libexec'
697datarootdir='${prefix}/share'309datadir='${prefix}/share'
698datadir='${datarootdir}'
699sysconfdir='${prefix}/etc'310sysconfdir='${prefix}/etc'
700sharedstatedir='${prefix}/com'311sharedstatedir='${prefix}/com'
701localstatedir='${prefix}/var'312localstatedir='${prefix}/var'
313libdir='${exec_prefix}/lib'
702includedir='${prefix}/include'314includedir='${prefix}/include'
703oldincludedir='/usr/include'315oldincludedir='/usr/include'
704docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'316infodir='${prefix}/info'
705infodir='${datarootdir}/info'317mandir='${prefix}/man'
706htmldir='${docdir}'
707dvidir='${docdir}'
708pdfdir='${docdir}'
709psdir='${docdir}'
710libdir='${exec_prefix}/lib'
711localedir='${datarootdir}/locale'
712mandir='${datarootdir}/man'
713318
714ac_prev=319ac_prev=
715ac_dashdash=
716for ac_option320for ac_option
717do321do
718 # If the previous option needs an argument, assign it.322 # If the previous option needs an argument, assign it.
719 if test -n "$ac_prev"; then323 if test -n "$ac_prev"; then
720 eval $ac_prev=\$ac_option324 eval "$ac_prev=\$ac_option"
721 ac_prev=325 ac_prev=
722 continue326 continue
723 fi327 fi
724328
725 case $ac_option in329 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
726 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
727 *) ac_optarg=yes ;;
728 esac
729330
730 # Accept the important Cygnus configure options, so we can diagnose typos.331 # Accept the important Cygnus configure options, so we can diagnose typos.
731332
732 case $ac_dashdash$ac_option in333 case $ac_option in
733 --)
734 ac_dashdash=yes ;;
735334
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)335 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 ac_prev=bindir ;;336 ac_prev=bindir ;;
@@ -753,45 +352,33 @@
753 --config-cache | -C)352 --config-cache | -C)
754 cache_file=config.cache ;;353 cache_file=config.cache ;;
755354
756 -datadir | --datadir | --datadi | --datad)355 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
757 ac_prev=datadir ;;356 ac_prev=datadir ;;
758 -datadir=* | --datadir=* | --datadi=* | --datad=*)357 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 | --da=*)
759 datadir=$ac_optarg ;;359 datadir=$ac_optarg ;;
760360
761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
762 | --dataroo | --dataro | --datar)
763 ac_prev=datarootdir ;;
764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
766 datarootdir=$ac_optarg ;;
767
768 -disable-* | --disable-*)361 -disable-* | --disable-*)
769 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`362 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.363 # Reject names that are not valid shell variable names.
771 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&364 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
772 { echo "$as_me: error: invalid feature name: $ac_feature" >&2365 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
773 { (exit 1); exit 1; }; }366 { (exit 1); exit 1; }; }
774 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`367 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
775 eval enable_$ac_feature=no ;;368 eval "enable_$ac_feature=no" ;;
776
777 -docdir | --docdir | --docdi | --doc | --do)
778 ac_prev=docdir ;;
779 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
780 docdir=$ac_optarg ;;
781
782 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
783 ac_prev=dvidir ;;
784 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
785 dvidir=$ac_optarg ;;
786369
787 -enable-* | --enable-*)370 -enable-* | --enable-*)
788 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`371 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
789 # Reject names that are not valid shell variable names.372 # Reject names that are not valid shell variable names.
790 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&373 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid feature name: $ac_feature" >&2374 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
792 { (exit 1); exit 1; }; }375 { (exit 1); exit 1; }; }
793 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`376 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
794 eval enable_$ac_feature=\$ac_optarg ;;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'" ;;
795382
796 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \383 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
797 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \384 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -818,12 +405,6 @@
818 -host=* | --host=* | --hos=* | --ho=*)405 -host=* | --host=* | --hos=* | --ho=*)
819 host_alias=$ac_optarg ;;406 host_alias=$ac_optarg ;;
820407
821 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
822 ac_prev=htmldir ;;
823 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
824 | --ht=*)
825 htmldir=$ac_optarg ;;
826
827 -includedir | --includedir | --includedi | --included | --include \408 -includedir | --includedir | --includedi | --included | --include \
828 | --includ | --inclu | --incl | --inc)409 | --includ | --inclu | --incl | --inc)
829 ac_prev=includedir ;;410 ac_prev=includedir ;;
@@ -848,16 +429,13 @@
848 | --libexe=* | --libex=* | --libe=*)429 | --libexe=* | --libex=* | --libe=*)
849 libexecdir=$ac_optarg ;;430 libexecdir=$ac_optarg ;;
850431
851 -localedir | --localedir | --localedi | --localed | --locale)
852 ac_prev=localedir ;;
853 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
854 localedir=$ac_optarg ;;
855
856 -localstatedir | --localstatedir | --localstatedi | --localstated \432 -localstatedir | --localstatedir | --localstatedi | --localstated \
857 | --localstate | --localstat | --localsta | --localst | --locals)433 | --localstate | --localstat | --localsta | --localst \
434 | --locals | --local | --loca | --loc | --lo)
858 ac_prev=localstatedir ;;435 ac_prev=localstatedir ;;
859 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \436 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
860 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)437 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
438 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
861 localstatedir=$ac_optarg ;;439 localstatedir=$ac_optarg ;;
862440
863 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)441 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
@@ -922,16 +500,6 @@
922 | --progr-tra=* | --program-tr=* | --program-t=*)500 | --progr-tra=* | --program-tr=* | --program-t=*)
923 program_transform_name=$ac_optarg ;;501 program_transform_name=$ac_optarg ;;
924502
925 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
926 ac_prev=pdfdir ;;
927 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
928 pdfdir=$ac_optarg ;;
929
930 -psdir | --psdir | --psdi | --psd | --ps)
931 ac_prev=psdir ;;
932 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
933 psdir=$ac_optarg ;;
934
935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
936 | -silent | --silent | --silen | --sile | --sil)504 | -silent | --silent | --silen | --sile | --sil)
937 silent=yes ;;505 silent=yes ;;
@@ -984,20 +552,24 @@
984 -with-* | --with-*)552 -with-* | --with-*)
985 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`553 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.554 # Reject names that are not valid shell variable names.
987 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&555 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
988 { echo "$as_me: error: invalid package name: $ac_package" >&2556 { echo "$as_me: error: invalid package name: $ac_package" >&2
989 { (exit 1); exit 1; }; }557 { (exit 1); exit 1; }; }
990 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`558 ac_package=`echo $ac_package| sed 's/-/_/g'`
991 eval with_$ac_package=\$ac_optarg ;;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'" ;;
992564
993 -without-* | --without-*)565 -without-* | --without-*)
994 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`566 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
995 # Reject names that are not valid shell variable names.567 # Reject names that are not valid shell variable names.
996 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&568 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
997 { echo "$as_me: error: invalid package name: $ac_package" >&2569 { echo "$as_me: error: invalid package name: $ac_package" >&2
998 { (exit 1); exit 1; }; }570 { (exit 1); exit 1; }; }
999 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`571 ac_package=`echo $ac_package | sed 's/-/_/g'`
1000 eval with_$ac_package=no ;;572 eval "with_$ac_package=no" ;;
1001573
1002 --x)574 --x)
1003 # Obsolete; use --with-x.575 # Obsolete; use --with-x.
@@ -1028,7 +600,8 @@
1028 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&600 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1029 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2601 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1030 { (exit 1); exit 1; }; }602 { (exit 1); exit 1; }; }
1031 eval $ac_envvar=\$ac_optarg603 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
604 eval "$ac_envvar='$ac_optarg'"
1032 export $ac_envvar ;;605 export $ac_envvar ;;
1033606
1034 *)607 *)
@@ -1048,19 +621,27 @@
1048 { (exit 1); exit 1; }; }621 { (exit 1); exit 1; }; }
1049fi622fi
1050623
1051# Be sure to have absolute directory names.624# Be sure to have absolute paths.
1052for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \625for ac_var in exec_prefix prefix
1053 datadir sysconfdir sharedstatedir localstatedir includedir \626do
1054 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \627 eval ac_val=$`echo $ac_var`
1055 libdir localedir mandir628 case $ac_val in
1056do629 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1057 eval ac_val=\$$ac_var630 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1058 case $ac_val in631 { (exit 1); exit 1; }; };;
1059 [\\/$]* | ?:[\\/]* ) continue;;632 esac
1060 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;633done
1061 esac634
1062 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2635# Be sure to have absolute paths.
1063 { (exit 1); exit 1; }; }636for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
637 localstatedir libdir includedir oldincludedir infodir mandir
638do
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
1064done645done
1065646
1066# There might be people who depend on the old broken behavior: `$host'647# There might be people who depend on the old broken behavior: `$host'
@@ -1087,76 +668,70 @@
1087test "$silent" = yes && exec 6>/dev/null668test "$silent" = yes && exec 6>/dev/null
1088669
1089670
1090ac_pwd=`pwd` && test -n "$ac_pwd" &&
1091ac_ls_di=`ls -di .` &&
1092ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1093 { echo "$as_me: error: Working directory cannot be determined" >&2
1094 { (exit 1); exit 1; }; }
1095test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1096 { echo "$as_me: error: pwd does not report name of working directory" >&2
1097 { (exit 1); exit 1; }; }
1098
1099
1100# Find the source files, if location was not specified.671# Find the source files, if location was not specified.
1101if test -z "$srcdir"; then672if test -z "$srcdir"; then
1102 ac_srcdir_defaulted=yes673 ac_srcdir_defaulted=yes
1103 # Try the directory containing this script, then the parent directory.674 # Try the directory containing this script, then its parent.
1104 ac_confdir=`$as_dirname -- "$0" ||675 ac_confdir=`(dirname "$0") 2>/dev/null ||
1105$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \676$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1106 X"$0" : 'X\(//\)[^/]' \| \677 X"$0" : 'X\(//\)[^/]' \| \
1107 X"$0" : 'X\(//\)$' \| \678 X"$0" : 'X\(//\)$' \| \
1108 X"$0" : 'X\(/\)' \| . 2>/dev/null ||679 X"$0" : 'X\(/\)' \| \
680 . : '\(.\)' 2>/dev/null ||
1109echo X"$0" |681echo X"$0" |
1110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1111 s//\1/683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1112 q684 /^X\(\/\/\)$/{ s//\1/; q; }
1113 }685 /^X\(\/\).*/{ s//\1/; q; }
1114 /^X\(\/\/\)[^/].*/{686 s/.*/./; q'`
1115 s//\1/
1116 q
1117 }
1118 /^X\(\/\/\)$/{
1119 s//\1/
1120 q
1121 }
1122 /^X\(\/\).*/{
1123 s//\1/
1124 q
1125 }
1126 s/.*/./; q'`
1127 srcdir=$ac_confdir687 srcdir=$ac_confdir
1128 if test ! -r "$srcdir/$ac_unique_file"; then688 if test ! -r $srcdir/$ac_unique_file; then
1129 srcdir=..689 srcdir=..
1130 fi690 fi
1131else691else
1132 ac_srcdir_defaulted=no692 ac_srcdir_defaulted=no
1133fi693fi
1134if test ! -r "$srcdir/$ac_unique_file"; then694if test ! -r $srcdir/$ac_unique_file; then
1135 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."695 if test "$ac_srcdir_defaulted" = yes; then
1136 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1137 { (exit 1); exit 1; }; }697 { (exit 1); exit 1; }; }
1138fi698 else
1139ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"699 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140ac_abs_confdir=`(700 { (exit 1); exit 1; }; }
1141 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2701 fi
1142 { (exit 1); exit 1; }; }702fi
1143 pwd)`703(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1144# When building in place, set srcdir=.704 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1145if test "$ac_abs_confdir" = "$ac_pwd"; then705 { (exit 1); exit 1; }; }
1146 srcdir=.706srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1147fi707ac_env_build_alias_set=${build_alias+set}
1148# Remove unnecessary trailing slashes from srcdir.708ac_env_build_alias_value=$build_alias
1149# Double slashes in file names in object file debugging info709ac_cv_env_build_alias_set=${build_alias+set}
1150# mess up M-x gdb in Emacs.710ac_cv_env_build_alias_value=$build_alias
1151case $srcdir in711ac_env_host_alias_set=${host_alias+set}
1152*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;712ac_env_host_alias_value=$host_alias
1153esac713ac_cv_env_host_alias_set=${host_alias+set}
1154for ac_var in $ac_precious_vars; do714ac_cv_env_host_alias_value=$host_alias
1155 eval ac_env_${ac_var}_set=\${${ac_var}+set}715ac_env_target_alias_set=${target_alias+set}
1156 eval ac_env_${ac_var}_value=\$${ac_var}716ac_env_target_alias_value=$target_alias
1157 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}717ac_cv_env_target_alias_set=${target_alias+set}
1158 eval ac_cv_env_${ac_var}_value=\$${ac_var}718ac_cv_env_target_alias_value=$target_alias
1159done719ac_env_CC_set=${CC+set}
720ac_env_CC_value=$CC
721ac_cv_env_CC_set=${CC+set}
722ac_cv_env_CC_value=$CC
723ac_env_CFLAGS_set=${CFLAGS+set}
724ac_env_CFLAGS_value=$CFLAGS
725ac_cv_env_CFLAGS_set=${CFLAGS+set}
726ac_cv_env_CFLAGS_value=$CFLAGS
727ac_env_LDFLAGS_set=${LDFLAGS+set}
728ac_env_LDFLAGS_value=$LDFLAGS
729ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
730ac_cv_env_LDFLAGS_value=$LDFLAGS
731ac_env_CPPFLAGS_set=${CPPFLAGS+set}
732ac_env_CPPFLAGS_value=$CPPFLAGS
733ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
734ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1160735
1161#736#
1162# Report the --help message.737# Report the --help message.
@@ -1185,6 +760,9 @@
1185 -n, --no-create do not create output files760 -n, --no-create do not create output files
1186 --srcdir=DIR find the sources in DIR [configure dir or \`..']761 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1187762
763_ACEOF
764
765 cat <<_ACEOF
1188Installation directories:766Installation directories:
1189 --prefix=PREFIX install architecture-independent files in PREFIX767 --prefix=PREFIX install architecture-independent files in PREFIX
1190 [$ac_default_prefix]768 [$ac_default_prefix]
@@ -1202,22 +780,15 @@
1202 --bindir=DIR user executables [EPREFIX/bin]780 --bindir=DIR user executables [EPREFIX/bin]
1203 --sbindir=DIR system admin executables [EPREFIX/sbin]781 --sbindir=DIR system admin executables [EPREFIX/sbin]
1204 --libexecdir=DIR program executables [EPREFIX/libexec]782 --libexecdir=DIR program executables [EPREFIX/libexec]
783 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1205 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]784 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1206 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]785 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1207 --localstatedir=DIR modifiable single-machine data [PREFIX/var]786 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1208 --libdir=DIR object code libraries [EPREFIX/lib]787 --libdir=DIR object code libraries [EPREFIX/lib]
1209 --includedir=DIR C header files [PREFIX/include]788 --includedir=DIR C header files [PREFIX/include]
1210 --oldincludedir=DIR C header files for non-gcc [/usr/include]789 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1211 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]790 --infodir=DIR info documentation [PREFIX/info]
1212 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]791 --mandir=DIR man documentation [PREFIX/man]
1213 --infodir=DIR info documentation [DATAROOTDIR/info]
1214 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1215 --mandir=DIR man documentation [DATAROOTDIR/man]
1216 --docdir=DIR documentation root [DATAROOTDIR/doc/madfuload]
1217 --htmldir=DIR html documentation [DOCDIR]
1218 --dvidir=DIR dvi documentation [DOCDIR]
1219 --pdfdir=DIR pdf documentation [DOCDIR]
1220 --psdir=DIR ps documentation [DOCDIR]
1221_ACEOF792_ACEOF
1222793
1223 cat <<\_ACEOF794 cat <<\_ACEOF
@@ -1241,100 +812,138 @@
1241 --disable-dependency-tracking speeds up one-time build812 --disable-dependency-tracking speeds up one-time build
1242 --enable-dependency-tracking do not reject slow dependency extractors813 --enable-dependency-tracking do not reject slow dependency extractors
1243814
815Optional Packages:
816 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
817 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
818 --with-udev=dir specify udev directory [/etc/udev]
819
1244Some influential environment variables:820Some influential environment variables:
1245 CC C compiler command821 CC C compiler command
1246 CFLAGS C compiler flags822 CFLAGS C compiler flags
1247 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a823 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1248 nonstandard directory <lib dir>824 nonstandard directory <lib dir>
1249 LIBS libraries to pass to the linker, e.g. -l<library>825 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1250 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if826 headers in a nonstandard directory <include dir>
1251 you have headers in a nonstandard directory <include dir>
1252827
1253Use these variables to override the choices made by `configure' or to help828Use these variables to override the choices made by `configure' or to help
1254it to find libraries and programs with nonstandard names/locations.829it to find libraries and programs with nonstandard names/locations.
1255830
1256Report bugs to <usb-midi-fw-user@lists.sourceforge.net>.831Report bugs to <usb-midi-fw-user@lists.sourceforge.net>.
1257_ACEOF832_ACEOF
1258ac_status=$?
1259fi833fi
1260834
1261if test "$ac_init_help" = "recursive"; then835if test "$ac_init_help" = "recursive"; then
1262 # If there are subdirs, report their specific --help.836 # If there are subdirs, report their specific --help.
837 ac_popdir=`pwd`
1263 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue838 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1264 test -d "$ac_dir" || continue839 test -d $ac_dir || continue
1265 ac_builddir=.840 ac_builddir=.
1266841
1267case "$ac_dir" in842if test "$ac_dir" != .; then
1268.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269*)
1270 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1271 # A ".." for each directory in $ac_dir_suffix.844 # A "../" for each directory in $ac_dir_suffix.
1272 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1273 case $ac_top_builddir_sub in846else
1274 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;847 ac_dir_suffix= ac_top_builddir=
1275 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;848fi
1276 esac ;;
1277esac
1278ac_abs_top_builddir=$ac_pwd
1279ac_abs_builddir=$ac_pwd$ac_dir_suffix
1280# for backward compatibility:
1281ac_top_builddir=$ac_top_build_prefix
1282849
1283case $srcdir in850case $srcdir in
1284 .) # We are building in place.851 .) # No --srcdir option. We are building in place.
1285 ac_srcdir=.852 ac_srcdir=.
1286 ac_top_srcdir=$ac_top_builddir_sub853 if test -z "$ac_top_builddir"; then
1287 ac_abs_top_srcdir=$ac_pwd ;;854 ac_top_srcdir=.
1288 [\\/]* | ?:[\\/]* ) # Absolute name.855 else
856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
857 fi ;;
858 [\\/]* | ?:[\\/]* ) # Absolute path.
1289 ac_srcdir=$srcdir$ac_dir_suffix;859 ac_srcdir=$srcdir$ac_dir_suffix;
1290 ac_top_srcdir=$srcdir860 ac_top_srcdir=$srcdir ;;
1291 ac_abs_top_srcdir=$srcdir ;;861 *) # Relative path.
1292 *) # Relative name.862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1293 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix863 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1294 ac_top_srcdir=$ac_top_build_prefix$srcdir864esac
1295 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;865
1296esac866# Do not use `cd foo && pwd` to compute absolute paths, because
1297ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix867# the directories may not exist.
1298868case `pwd` in
1299 cd "$ac_dir" || { ac_status=$?; continue; }869.) ac_abs_builddir="$ac_dir";;
1300 # Check for guested configure.870*)
1301 if test -f "$ac_srcdir/configure.gnu"; then871 case "$ac_dir" in
1302 echo &&872 .) ac_abs_builddir=`pwd`;;
1303 $SHELL "$ac_srcdir/configure.gnu" --help=recursive873 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1304 elif test -f "$ac_srcdir/configure"; then874 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1305 echo &&875 esac;;
1306 $SHELL "$ac_srcdir/configure" --help=recursive876esac
877case $ac_abs_builddir in
878.) ac_abs_top_builddir=${ac_top_builddir}.;;
879*)
880 case ${ac_top_builddir}. in
881 .) ac_abs_top_builddir=$ac_abs_builddir;;
882 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
883 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
884 esac;;
885esac
886case $ac_abs_builddir in
887.) ac_abs_srcdir=$ac_srcdir;;
888*)
889 case $ac_srcdir in
890 .) ac_abs_srcdir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
892 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
893 esac;;
894esac
895case $ac_abs_builddir in
896.) ac_abs_top_srcdir=$ac_top_srcdir;;
897*)
898 case $ac_top_srcdir in
899 .) ac_abs_top_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
901 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
902 esac;;
903esac
904
905 cd $ac_dir
906 # Check for guested configure; otherwise get Cygnus style configure.
907 if test -f $ac_srcdir/configure.gnu; then
908 echo
909 $SHELL $ac_srcdir/configure.gnu --help=recursive
910 elif test -f $ac_srcdir/configure; then
911 echo
912 $SHELL $ac_srcdir/configure --help=recursive
913 elif test -f $ac_srcdir/configure.ac ||
914 test -f $ac_srcdir/configure.in; then
915 echo
916 $ac_configure --help
1307 else917 else
1308 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1309 fi || ac_status=$?919 fi
1310 cd "$ac_pwd" || { ac_status=$?; break; }920 cd $ac_popdir
1311 done921 done
1312fi922fi
1313923
1314test -n "$ac_init_help" && exit $ac_status924test -n "$ac_init_help" && exit 0
1315if $ac_init_version; then925if $ac_init_version; then
1316 cat <<\_ACEOF926 cat <<\_ACEOF
1317madfuload configure 1.2927madfuload configure 1.2
1318generated by GNU Autoconf 2.61928generated by GNU Autoconf 2.59
1319929
1320Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,930Copyright (C) 2003 Free Software Foundation, Inc.
13212002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1322This configure script is free software; the Free Software Foundation931This configure script is free software; the Free Software Foundation
1323gives unlimited permission to copy, distribute and modify it.932gives unlimited permission to copy, distribute and modify it.
1324_ACEOF933_ACEOF
1325 exit934 exit 0
1326fi935fi
1327cat >config.log <<_ACEOF936exec 5>config.log
937cat >&5 <<_ACEOF
1328This file contains any messages produced by compilers while938This file contains any messages produced by compilers while
1329running configure, to aid debugging if configure makes a mistake.939running configure, to aid debugging if configure makes a mistake.
1330940
1331It was created by madfuload $as_me 1.2, which was941It was created by madfuload $as_me 1.2, which was
1332generated by GNU Autoconf 2.61. Invocation command line was942generated by GNU Autoconf 2.59. Invocation command line was
1333943
1334 $ $0 $@944 $ $0 $@
1335945
1336_ACEOF946_ACEOF
1337exec 5>>config.log
1338{947{
1339cat <<_ASUNAME948cat <<_ASUNAME
1340## --------- ##949## --------- ##
@@ -1353,7 +962,7 @@
1353/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`962/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1354/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`963/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1355/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`964/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`965hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1357/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`966/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1358/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`967/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1359/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`968/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
@@ -1367,7 +976,6 @@
1367 test -z "$as_dir" && as_dir=.976 test -z "$as_dir" && as_dir=.
1368 echo "PATH: $as_dir"977 echo "PATH: $as_dir"
1369done978done
1370IFS=$as_save_IFS
1371979
1372} >&5980} >&5
1373981
@@ -1389,6 +997,7 @@
1389ac_configure_args=997ac_configure_args=
1390ac_configure_args0=998ac_configure_args0=
1391ac_configure_args1=999ac_configure_args1=
1000ac_sep=
1392ac_must_keep_next=false1001ac_must_keep_next=false
1393for ac_pass in 1 21002for ac_pass in 1 2
1394do1003do
@@ -1399,7 +1008,7 @@
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)1009 | -silent | --silent | --silen | --sile | --sil)
1401 continue ;;1010 continue ;;
1402 *\'*)1011 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1403 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1012 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1404 esac1013 esac
1405 case $ac_pass in1014 case $ac_pass in
@@ -1421,7 +1030,9 @@
1421 -* ) ac_must_keep_next=true ;;1030 -* ) ac_must_keep_next=true ;;
1422 esac1031 esac
1423 fi1032 fi
1424 ac_configure_args="$ac_configure_args '$ac_arg'"1033 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1034 # Get rid of the leading space.
1035 ac_sep=" "
1425 ;;1036 ;;
1426 esac1037 esac
1427 done1038 done
@@ -1432,8 +1043,8 @@
1432# When interrupted or exit'd, cleanup temporary files, and complete1043# When interrupted or exit'd, cleanup temporary files, and complete
1433# config.log. We remove comments because anyway the quotes in there1044# config.log. We remove comments because anyway the quotes in there
1434# would cause problems or look ugly.1045# would cause problems or look ugly.
1435# WARNING: Use '\'' to represent an apostrophe within the trap.1046# WARNING: Be sure not to use single quotes in there, as some shells,
1436# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1047# such as our DU 5.0 friend, will then `close' the trap.
1437trap 'exit_status=$?1048trap 'exit_status=$?
1438 # Save into config.log some information that might help in debugging.1049 # Save into config.log some information that might help in debugging.
1439 {1050 {
@@ -1446,34 +1057,20 @@
1446_ASBOX1057_ASBOX
1447 echo1058 echo
1448 # The following way of writing the cache mishandles newlines in values,1059 # The following way of writing the cache mishandles newlines in values,
1449(1060{
1450 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1451 eval ac_val=\$$ac_var
1452 case $ac_val in #(
1453 *${as_nl}*)
1454 case $ac_var in #(
1455 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1456echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1457 esac
1458 case $ac_var in #(
1459 _ | IFS | as_nl) ;; #(
1460 *) $as_unset $ac_var ;;
1461 esac ;;
1462 esac
1463 done
1464 (set) 2>&1 |1061 (set) 2>&1 |
1465 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(1062 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1466 *${as_nl}ac_space=\ *)1063 *ac_space=\ *)
1467 sed -n \1064 sed -n \
1468 "s/'\''/'\''\\\\'\'''\''/g;1065 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"1066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1470 ;; #(1067 ;;
1471 *)1068 *)
1472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"1069 sed -n \
1070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1473 ;;1071 ;;
1474 esac |1072 esac;
1475 sort1073}
1476)
1477 echo1074 echo
14781075
1479 cat <<\_ASBOX1076 cat <<\_ASBOX
@@ -1484,28 +1081,22 @@
1484 echo1081 echo
1485 for ac_var in $ac_subst_vars1082 for ac_var in $ac_subst_vars
1486 do1083 do
1487 eval ac_val=\$$ac_var1084 eval ac_val=$`echo $ac_var`
1488 case $ac_val in1085 echo "$ac_var='"'"'$ac_val'"'"'"
1489 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1490 esac
1491 echo "$ac_var='\''$ac_val'\''"
1492 done | sort1086 done | sort
1493 echo1087 echo
14941088
1495 if test -n "$ac_subst_files"; then1089 if test -n "$ac_subst_files"; then
1496 cat <<\_ASBOX1090 cat <<\_ASBOX
1497## ------------------- ##1091## ------------- ##
1498## File substitutions. ##1092## Output files. ##
1499## ------------------- ##1093## ------------- ##
1500_ASBOX1094_ASBOX
1501 echo1095 echo
1502 for ac_var in $ac_subst_files1096 for ac_var in $ac_subst_files
1503 do1097 do
1504 eval ac_val=\$$ac_var1098 eval ac_val=$`echo $ac_var`
1505 case $ac_val in1099 echo "$ac_var='"'"'$ac_val'"'"'"
1506 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1507 esac
1508 echo "$ac_var='\''$ac_val'\''"
1509 done | sort1100 done | sort
1510 echo1101 echo
1511 fi1102 fi
@@ -1517,24 +1108,26 @@
1517## ----------- ##1108## ----------- ##
1518_ASBOX1109_ASBOX
1519 echo1110 echo
1520 cat confdefs.h1111 sed "/^$/d" confdefs.h | sort
1521 echo1112 echo
1522 fi1113 fi
1523 test "$ac_signal" != 0 &&1114 test "$ac_signal" != 0 &&
1524 echo "$as_me: caught signal $ac_signal"1115 echo "$as_me: caught signal $ac_signal"
1525 echo "$as_me: exit $exit_status"1116 echo "$as_me: exit $exit_status"
1526 } >&51117 } >&5
1527 rm -f core *.core core.conftest.* &&1118 rm -f core *.core &&
1528 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&1119 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1529 exit $exit_status1120 exit $exit_status
1530' 01121 ' 0
1531for ac_signal in 1 2 13 15; do1122for ac_signal in 1 2 13 15; do
1532 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1123 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1533done1124done
1534ac_signal=01125ac_signal=0
15351126
1536# confdefs.h avoids OS command line length limits that DEFS can exceed.1127# confdefs.h avoids OS command line length limits that DEFS can exceed.
1537rm -f -r conftest* confdefs.h1128rm -rf conftest* confdefs.h
1129# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1130echo >confdefs.h
15381131
1539# Predefined preprocessor variables.1132# Predefined preprocessor variables.
15401133
@@ -1565,17 +1158,14 @@
15651158
1566# Let the site file select an alternate cache file if it wants to.1159# Let the site file select an alternate cache file if it wants to.
1567# Prefer explicitly selected file to automatically selected ones.1160# Prefer explicitly selected file to automatically selected ones.
1568if test -n "$CONFIG_SITE"; then1161if test -z "$CONFIG_SITE"; then
1569 set x "$CONFIG_SITE"1162 if test "x$prefix" != xNONE; then
1570elif test "x$prefix" != xNONE; then1163 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1571 set x "$prefix/share/config.site" "$prefix/etc/config.site"1164 else
1572else1165 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1573 set x "$ac_default_prefix/share/config.site" \1166 fi
1574 "$ac_default_prefix/etc/config.site"
1575fi1167fi
1576shift1168for ac_site_file in $CONFIG_SITE; do
1577for ac_site_file
1578do
1579 if test -r "$ac_site_file"; then1169 if test -r "$ac_site_file"; then
1580 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51170 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1581echo "$as_me: loading site script $ac_site_file" >&6;}1171echo "$as_me: loading site script $ac_site_file" >&6;}
@@ -1591,8 +1181,8 @@
1591 { echo "$as_me:$LINENO: loading cache $cache_file" >&51181 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1592echo "$as_me: loading cache $cache_file" >&6;}1182echo "$as_me: loading cache $cache_file" >&6;}
1593 case $cache_file in1183 case $cache_file in
1594 [\\/]* | ?:[\\/]* ) . "$cache_file";;1184 [\\/]* | ?:[\\/]* ) . $cache_file;;
1595 *) . "./$cache_file";;1185 *) . ./$cache_file;;
1596 esac1186 esac
1597 fi1187 fi
1598else1188else
@@ -1604,11 +1194,12 @@
1604# Check that the precious variables saved in the cache have kept the same1194# Check that the precious variables saved in the cache have kept the same
1605# value.1195# value.
1606ac_cache_corrupted=false1196ac_cache_corrupted=false
1607for ac_var in $ac_precious_vars; do1197for ac_var in `(set) 2>&1 |
1198 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1608 eval ac_old_set=\$ac_cv_env_${ac_var}_set1199 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1609 eval ac_new_set=\$ac_env_${ac_var}_set1200 eval ac_new_set=\$ac_env_${ac_var}_set
1610 eval ac_old_val=\$ac_cv_env_${ac_var}_value1201 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1611 eval ac_new_val=\$ac_env_${ac_var}_value1202 eval ac_new_val="\$ac_env_${ac_var}_value"
1612 case $ac_old_set,$ac_new_set in1203 case $ac_old_set,$ac_new_set in
1613 set,)1204 set,)
1614 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51205 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
@@ -1633,7 +1224,8 @@
1633 # Pass precious variables to config.status.1224 # Pass precious variables to config.status.
1634 if test "$ac_new_set" = set; then1225 if test "$ac_new_set" = set; then
1635 case $ac_new_val in1226 case $ac_new_val in
1636 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1637 *) ac_arg=$ac_var=$ac_new_val ;;1229 *) ac_arg=$ac_var=$ac_new_val ;;
1638 esac1230 esac
1639 case " $ac_configure_args " in1231 case " $ac_configure_args " in
@@ -1650,30 +1242,6 @@
1650 { (exit 1); exit 1; }; }1242 { (exit 1); exit 1; }; }
1651fi1243fi
16521244
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677ac_ext=c1245ac_ext=c
1678ac_cpp='$CPP $CPPFLAGS'1246ac_cpp='$CPP $CPPFLAGS'
1679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -1681,37 +1249,56 @@
1681ac_compiler_gnu=$ac_cv_c_compiler_gnu1249ac_compiler_gnu=$ac_cv_c_compiler_gnu
16821250
16831251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1684am__api_version="1.8"1277am__api_version="1.8"
1685ac_aux_dir=1278ac_aux_dir=
1686for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do1279for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1687 if test -f "$ac_dir/install-sh"; then1280 if test -f $ac_dir/install-sh; then
1688 ac_aux_dir=$ac_dir1281 ac_aux_dir=$ac_dir
1689 ac_install_sh="$ac_aux_dir/install-sh -c"1282 ac_install_sh="$ac_aux_dir/install-sh -c"
1690 break1283 break
1691 elif test -f "$ac_dir/install.sh"; then1284 elif test -f $ac_dir/install.sh; then
1692 ac_aux_dir=$ac_dir1285 ac_aux_dir=$ac_dir
1693 ac_install_sh="$ac_aux_dir/install.sh -c"1286 ac_install_sh="$ac_aux_dir/install.sh -c"
1694 break1287 break
1695 elif test -f "$ac_dir/shtool"; then1288 elif test -f $ac_dir/shtool; then
1696 ac_aux_dir=$ac_dir1289 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/shtool install -c"1290 ac_install_sh="$ac_aux_dir/shtool install -c"
1698 break1291 break
1699 fi1292 fi
1700done1293done
1701if test -z "$ac_aux_dir"; then1294if test -z "$ac_aux_dir"; then
1702 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1703echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1296echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1704 { (exit 1); exit 1; }; }1297 { (exit 1); exit 1; }; }
1705fi1298fi
17061299ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1707# These three variables are undocumented and unsupported,1300ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1708# and are intended to be withdrawn in a future Autoconf release.1301ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1709# They can cause serious problems if a builder's source tree is in a directory
1710# whose full name contains unusual characters.
1711ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1712ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1713ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1714
17151302
1716# Find a good install program. We prefer a C program (faster),1303# Find a good install program. We prefer a C program (faster),
1717# so one script is as good as another. But avoid the broken or1304# so one script is as good as another. But avoid the broken or
@@ -1726,8 +1313,8 @@
1726# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1313# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1727# OS/2's system install, which has a completely different semantic1314# OS/2's system install, which has a completely different semantic
1728# ./install, which can be erroneously created by make from ./install.sh.1315# ./install, which can be erroneously created by make from ./install.sh.
1729{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51316echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1730echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }1317echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1731if test -z "$INSTALL"; then1318if test -z "$INSTALL"; then
1732if test "${ac_cv_path_install+set}" = set; then1319if test "${ac_cv_path_install+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&61320 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1749,7 +1336,7 @@
1749 # by default.1336 # by default.
1750 for ac_prog in ginstall scoinst install; do1337 for ac_prog in ginstall scoinst install; do
1751 for ac_exec_ext in '' $ac_executable_extensions; do1338 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then1339 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1753 if test $ac_prog = install &&1340 if test $ac_prog = install &&
1754 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1755 # AIX install. It has an incompatible calling convention.1342 # AIX install. It has an incompatible calling convention.
@@ -1768,22 +1355,21 @@
1768 ;;1355 ;;
1769esac1356esac
1770done1357done
1771IFS=$as_save_IFS
17721358
17731359
1774fi1360fi
1775 if test "${ac_cv_path_install+set}" = set; then1361 if test "${ac_cv_path_install+set}" = set; then
1776 INSTALL=$ac_cv_path_install1362 INSTALL=$ac_cv_path_install
1777 else1363 else
1778 # As a last resort, use the slow shell script. Don't cache a1364 # As a last resort, use the slow shell script. We don't cache a
1779 # value for INSTALL within a source directory, because that will1365 # path for INSTALL within a source directory, because that will
1780 # break other packages using the cache if that directory is1366 # break other packages using the cache if that directory is
1781 # removed, or if the value is a relative name.1367 # removed, or if the path is relative.
1782 INSTALL=$ac_install_sh1368 INSTALL=$ac_install_sh
1783 fi1369 fi
1784fi1370fi
1785{ echo "$as_me:$LINENO: result: $INSTALL" >&51371echo "$as_me:$LINENO: result: $INSTALL" >&5
1786echo "${ECHO_T}$INSTALL" >&6; }1372echo "${ECHO_T}$INSTALL" >&6
17871373
1788# Use test -z because SunOS4 sh mishandles braces in ${var-val}.1374# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1789# It thinks the first close brace ends the variable substitution.1375# It thinks the first close brace ends the variable substitution.
@@ -1793,8 +1379,8 @@
17931379
1794test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1380test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
17951381
1796{ echo "$as_me:$LINENO: checking whether build environment is sane" >&51382echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1797echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }1383echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1798# Just in case1384# Just in case
1799sleep 11385sleep 1
1800echo timestamp > conftest.file1386echo timestamp > conftest.file
@@ -1836,20 +1422,20 @@
1836Check your system clock" >&2;}1422Check your system clock" >&2;}
1837 { (exit 1); exit 1; }; }1423 { (exit 1); exit 1; }; }
1838fi1424fi
1839{ echo "$as_me:$LINENO: result: yes" >&51425echo "$as_me:$LINENO: result: yes" >&5
1840echo "${ECHO_T}yes" >&6; }1426echo "${ECHO_T}yes" >&6
1841test "$program_prefix" != NONE &&1427test "$program_prefix" != NONE &&
1842 program_transform_name="s&^&$program_prefix&;$program_transform_name"1428 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1843# Use a double $ so make ignores it.1429# Use a double $ so make ignores it.
1844test "$program_suffix" != NONE &&1430test "$program_suffix" != NONE &&
1845 program_transform_name="s&\$&$program_suffix&;$program_transform_name"1431 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1846# Double any \ or $. echo might interpret backslashes.1432# Double any \ or $. echo might interpret backslashes.
1847# By default was `s,x,x', remove it if useless.1433# By default was `s,x,x', remove it if useless.
1848cat <<\_ACEOF >conftest.sed1434cat <<\_ACEOF >conftest.sed
1849s/[\\$]/&&/g;s/;s,x,x,$//1435s/[\\$]/&&/g;s/;s,x,x,$//
1850_ACEOF1436_ACEOF
1851program_transform_name=`echo $program_transform_name | sed -f conftest.sed`1437program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1852rm -f conftest.sed1438rm conftest.sed
18531439
1854# expand $ac_aux_dir to an absolute path1440# expand $ac_aux_dir to an absolute path
1855am_aux_dir=`cd $ac_aux_dir && pwd`1441am_aux_dir=`cd $ac_aux_dir && pwd`
@@ -1893,8 +1479,8 @@
1893do1479do
1894 # Extract the first word of "$ac_prog", so it can be a program name with args.1480 # Extract the first word of "$ac_prog", so it can be a program name with args.
1895set dummy $ac_prog; ac_word=$21481set dummy $ac_prog; ac_word=$2
1896{ echo "$as_me:$LINENO: checking for $ac_word" >&51482echo "$as_me:$LINENO: checking for $ac_word" >&5
1897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1483echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1898if test "${ac_cv_prog_AWK+set}" = set; then1484if test "${ac_cv_prog_AWK+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&61485 echo $ECHO_N "(cached) $ECHO_C" >&6
1900else1486else
@@ -1907,57 +1493,54 @@
1907 IFS=$as_save_IFS1493 IFS=$as_save_IFS
1908 test -z "$as_dir" && as_dir=.1494 test -z "$as_dir" && as_dir=.
1909 for ac_exec_ext in '' $ac_executable_extensions; do1495 for ac_exec_ext in '' $ac_executable_extensions; do
1910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1911 ac_cv_prog_AWK="$ac_prog"1497 ac_cv_prog_AWK="$ac_prog"
1912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 break 21499 break 2
1914 fi1500 fi
1915done1501done
1916done1502done
1917IFS=$as_save_IFS
19181503
1919fi1504fi
1920fi1505fi
1921AWK=$ac_cv_prog_AWK1506AWK=$ac_cv_prog_AWK
1922if test -n "$AWK"; then1507if test -n "$AWK"; then
1923 { echo "$as_me:$LINENO: result: $AWK" >&51508 echo "$as_me:$LINENO: result: $AWK" >&5
1924echo "${ECHO_T}$AWK" >&6; }1509echo "${ECHO_T}$AWK" >&6
1925else1510else
1926 { echo "$as_me:$LINENO: result: no" >&51511 echo "$as_me:$LINENO: result: no" >&5
1927echo "${ECHO_T}no" >&6; }1512echo "${ECHO_T}no" >&6
1928fi1513fi
19291514
1930
1931 test -n "$AWK" && break1515 test -n "$AWK" && break
1932done1516done
19331517
1934{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&51518echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1935echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }1519echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1936set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`1520set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1937if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then1521if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&61522 echo $ECHO_N "(cached) $ECHO_C" >&6
1939else1523else
1940 cat >conftest.make <<\_ACEOF1524 cat >conftest.make <<\_ACEOF
1941SHELL = /bin/sh
1942all:1525all:
1943 @echo '@@@%%%=$(MAKE)=@@@%%%'1526 @echo 'ac_maketemp="$(MAKE)"'
1944_ACEOF1527_ACEOF
1945# GNU make sometimes prints "make[1]: Entering...", which would confuse us.1528# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1946case `${MAKE-make} -f conftest.make 2>/dev/null` in1529eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1947 *@@@%%%=?*=@@@%%%*)1530if test -n "$ac_maketemp"; then
1948 eval ac_cv_prog_make_${ac_make}_set=yes;;1531 eval ac_cv_prog_make_${ac_make}_set=yes
1949 *)1532else
1950 eval ac_cv_prog_make_${ac_make}_set=no;;1533 eval ac_cv_prog_make_${ac_make}_set=no
1951esac1534fi
1952rm -f conftest.make1535rm -f conftest.make
1953fi1536fi
1954if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then1537if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1955 { echo "$as_me:$LINENO: result: yes" >&51538 echo "$as_me:$LINENO: result: yes" >&5
1956echo "${ECHO_T}yes" >&6; }1539echo "${ECHO_T}yes" >&6
1957 SET_MAKE=1540 SET_MAKE=
1958else1541else
1959 { echo "$as_me:$LINENO: result: no" >&51542 echo "$as_me:$LINENO: result: no" >&5
1960echo "${ECHO_T}no" >&6; }1543echo "${ECHO_T}no" >&6
1961 SET_MAKE="MAKE=${MAKE-make}"1544 SET_MAKE="MAKE=${MAKE-make}"
1962fi1545fi
19631546
@@ -2031,8 +1614,8 @@
2031 if test -n "$ac_tool_prefix"; then1614 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.1615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2033set dummy ${ac_tool_prefix}strip; ac_word=$21616set dummy ${ac_tool_prefix}strip; ac_word=$2
2034{ echo "$as_me:$LINENO: checking for $ac_word" >&51617echo "$as_me:$LINENO: checking for $ac_word" >&5
2035echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1618echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2036if test "${ac_cv_prog_STRIP+set}" = set; then1619if test "${ac_cv_prog_STRIP+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&61620 echo $ECHO_N "(cached) $ECHO_C" >&6
2038else1621else
@@ -2045,34 +1628,32 @@
2045 IFS=$as_save_IFS1628 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.1629 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do1630 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 ac_cv_prog_STRIP="${ac_tool_prefix}strip"1632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 21634 break 2
2052 fi1635 fi
2053done1636done
2054done1637done
2055IFS=$as_save_IFS
20561638
2057fi1639fi
2058fi1640fi
2059STRIP=$ac_cv_prog_STRIP1641STRIP=$ac_cv_prog_STRIP
2060if test -n "$STRIP"; then1642if test -n "$STRIP"; then
2061 { echo "$as_me:$LINENO: result: $STRIP" >&51643 echo "$as_me:$LINENO: result: $STRIP" >&5
2062echo "${ECHO_T}$STRIP" >&6; }1644echo "${ECHO_T}$STRIP" >&6
2063else1645else
2064 { echo "$as_me:$LINENO: result: no" >&51646 echo "$as_me:$LINENO: result: no" >&5
2065echo "${ECHO_T}no" >&6; }1647echo "${ECHO_T}no" >&6
2066fi1648fi
2067
20681649
2069fi1650fi
2070if test -z "$ac_cv_prog_STRIP"; then1651if test -z "$ac_cv_prog_STRIP"; then
2071 ac_ct_STRIP=$STRIP1652 ac_ct_STRIP=$STRIP
2072 # Extract the first word of "strip", so it can be a program name with args.1653 # Extract the first word of "strip", so it can be a program name with args.
2073set dummy strip; ac_word=$21654set dummy strip; ac_word=$2
2074{ echo "$as_me:$LINENO: checking for $ac_word" >&51655echo "$as_me:$LINENO: checking for $ac_word" >&5
2075echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1656echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then1657if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&61658 echo $ECHO_N "(cached) $ECHO_C" >&6
2078else1659else
@@ -2085,41 +1666,27 @@
2085 IFS=$as_save_IFS1666 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.1667 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do1668 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_STRIP="strip"1670 ac_cv_prog_ac_ct_STRIP="strip"
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 break 21672 break 2
2092 fi1673 fi
2093done1674done
2094done1675done
2095IFS=$as_save_IFS
20961676
1677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2097fi1678fi
2098fi1679fi
2099ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP1680ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2100if test -n "$ac_ct_STRIP"; then1681if test -n "$ac_ct_STRIP"; then
2101 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&51682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2102echo "${ECHO_T}$ac_ct_STRIP" >&6; }1683echo "${ECHO_T}$ac_ct_STRIP" >&6
2103else1684else
2104 { echo "$as_me:$LINENO: result: no" >&51685 echo "$as_me:$LINENO: result: no" >&5
2105echo "${ECHO_T}no" >&6; }1686echo "${ECHO_T}no" >&6
2106fi1687fi
21071688
2108 if test "x$ac_ct_STRIP" = x; then1689 STRIP=$ac_ct_STRIP
2109 STRIP=":"
2110 else
2111 case $cross_compiling:$ac_tool_warned in
2112yes:)
2113{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2114whose name does not start with the host triplet. If you think this
2115configuration is useful to you, please write to autoconf@gnu.org." >&5
2116echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2117whose name does not start with the host triplet. If you think this
2118configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2119ac_tool_warned=yes ;;
2120esac
2121 STRIP=$ac_ct_STRIP
2122 fi
2123else1690else
2124 STRIP="$ac_cv_prog_STRIP"1691 STRIP="$ac_cv_prog_STRIP"
2125fi1692fi
@@ -2142,8 +1709,8 @@
2142if test -n "$ac_tool_prefix"; then1709if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.1710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2144set dummy ${ac_tool_prefix}gcc; ac_word=$21711set dummy ${ac_tool_prefix}gcc; ac_word=$2
2145{ echo "$as_me:$LINENO: checking for $ac_word" >&51712echo "$as_me:$LINENO: checking for $ac_word" >&5
2146echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1713echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2147if test "${ac_cv_prog_CC+set}" = set; then1714if test "${ac_cv_prog_CC+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&61715 echo $ECHO_N "(cached) $ECHO_C" >&6
2149else1716else
@@ -2156,34 +1723,32 @@
2156 IFS=$as_save_IFS1723 IFS=$as_save_IFS
2157 test -z "$as_dir" && as_dir=.1724 test -z "$as_dir" && as_dir=.
2158 for ac_exec_ext in '' $ac_executable_extensions; do1725 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2160 ac_cv_prog_CC="${ac_tool_prefix}gcc"1727 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 break 21729 break 2
2163 fi1730 fi
2164done1731done
2165done1732done
2166IFS=$as_save_IFS
21671733
2168fi1734fi
2169fi1735fi
2170CC=$ac_cv_prog_CC1736CC=$ac_cv_prog_CC
2171if test -n "$CC"; then1737if test -n "$CC"; then
2172 { echo "$as_me:$LINENO: result: $CC" >&51738 echo "$as_me:$LINENO: result: $CC" >&5
2173echo "${ECHO_T}$CC" >&6; }1739echo "${ECHO_T}$CC" >&6
2174else1740else
2175 { echo "$as_me:$LINENO: result: no" >&51741 echo "$as_me:$LINENO: result: no" >&5
2176echo "${ECHO_T}no" >&6; }1742echo "${ECHO_T}no" >&6
2177fi1743fi
2178
21791744
2180fi1745fi
2181if test -z "$ac_cv_prog_CC"; then1746if test -z "$ac_cv_prog_CC"; then
2182 ac_ct_CC=$CC1747 ac_ct_CC=$CC
2183 # Extract the first word of "gcc", so it can be a program name with args.1748 # Extract the first word of "gcc", so it can be a program name with args.
2184set dummy gcc; ac_word=$21749set dummy gcc; ac_word=$2
2185{ echo "$as_me:$LINENO: checking for $ac_word" >&51750echo "$as_me:$LINENO: checking for $ac_word" >&5
2186echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1751echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1752if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&61753 echo $ECHO_N "(cached) $ECHO_C" >&6
2189else1754else
@@ -2196,51 +1761,36 @@
2196 IFS=$as_save_IFS1761 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.1762 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do1763 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_ac_ct_CC="gcc"1765 ac_cv_prog_ac_ct_CC="gcc"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 break 21767 break 2
2203 fi1768 fi
2204done1769done
2205done1770done
2206IFS=$as_save_IFS
22071771
2208fi1772fi
2209fi1773fi
2210ac_ct_CC=$ac_cv_prog_ac_ct_CC1774ac_ct_CC=$ac_cv_prog_ac_ct_CC
2211if test -n "$ac_ct_CC"; then1775if test -n "$ac_ct_CC"; then
2212 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&51776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213echo "${ECHO_T}$ac_ct_CC" >&6; }1777echo "${ECHO_T}$ac_ct_CC" >&6
2214else1778else
2215 { echo "$as_me:$LINENO: result: no" >&51779 echo "$as_me:$LINENO: result: no" >&5
2216echo "${ECHO_T}no" >&6; }1780echo "${ECHO_T}no" >&6
2217fi1781fi
22181782
2219 if test "x$ac_ct_CC" = x; then1783 CC=$ac_ct_CC
2220 CC=""
2221 else
2222 case $cross_compiling:$ac_tool_warned in
2223yes:)
2224{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2225whose name does not start with the host triplet. If you think this
2226configuration is useful to you, please write to autoconf@gnu.org." >&5
2227echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2228whose name does not start with the host triplet. If you think this
2229configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2230ac_tool_warned=yes ;;
2231esac
2232 CC=$ac_ct_CC
2233 fi
2234else1784else
2235 CC="$ac_cv_prog_CC"1785 CC="$ac_cv_prog_CC"
2236fi1786fi
22371787
2238if test -z "$CC"; then1788if test -z "$CC"; then
2239 if test -n "$ac_tool_prefix"; then1789 if test -n "$ac_tool_prefix"; then
2240 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1790 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2241set dummy ${ac_tool_prefix}cc; ac_word=$21791set dummy ${ac_tool_prefix}cc; ac_word=$2
2242{ echo "$as_me:$LINENO: checking for $ac_word" >&51792echo "$as_me:$LINENO: checking for $ac_word" >&5
2243echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1793echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244if test "${ac_cv_prog_CC+set}" = set; then1794if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&61795 echo $ECHO_N "(cached) $ECHO_C" >&6
2246else1796else
@@ -2253,34 +1803,74 @@
2253 IFS=$as_save_IFS1803 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.1804 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do1805 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 ac_cv_prog_CC="${ac_tool_prefix}cc"1807 ac_cv_prog_CC="${ac_tool_prefix}cc"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 21809 break 2
2260 fi1810 fi
2261done1811done
2262done1812done
2263IFS=$as_save_IFS
22641813
2265fi1814fi
2266fi1815fi
2267CC=$ac_cv_prog_CC1816CC=$ac_cv_prog_CC
2268if test -n "$CC"; then1817if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&51818 echo "$as_me:$LINENO: result: $CC" >&5
2270echo "${ECHO_T}$CC" >&6; }1819echo "${ECHO_T}$CC" >&6
2271else1820else
2272 { echo "$as_me:$LINENO: result: no" >&51821 echo "$as_me:$LINENO: result: no" >&5
2273echo "${ECHO_T}no" >&6; }1822echo "${ECHO_T}no" >&6
2274fi1823fi
22751824
22761825fi
1826if test -z "$ac_cv_prog_CC"; then
1827 ac_ct_CC=$CC
1828 # Extract the first word of "cc", so it can be a program name with args.
1829set dummy cc; ac_word=$2
1830echo "$as_me:$LINENO: checking for $ac_word" >&5
1831echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1834else
1835 if test -n "$ac_ct_CC"; then
1836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1837else
1838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839for as_dir in $PATH
1840do
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_ac_ct_CC="cc"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
2277 fi1848 fi
1849done
1850done
1851
1852fi
1853fi
1854ac_ct_CC=$ac_cv_prog_ac_ct_CC
1855if test -n "$ac_ct_CC"; then
1856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1857echo "${ECHO_T}$ac_ct_CC" >&6
1858else
1859 echo "$as_me:$LINENO: result: no" >&5
1860echo "${ECHO_T}no" >&6
1861fi
1862
1863 CC=$ac_ct_CC
1864else
1865 CC="$ac_cv_prog_CC"
1866fi
1867
2278fi1868fi
2279if test -z "$CC"; then1869if test -z "$CC"; then
2280 # Extract the first word of "cc", so it can be a program name with args.1870 # Extract the first word of "cc", so it can be a program name with args.
2281set dummy cc; ac_word=$21871set dummy cc; ac_word=$2
2282{ echo "$as_me:$LINENO: checking for $ac_word" >&51872echo "$as_me:$LINENO: checking for $ac_word" >&5
2283echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1873echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284if test "${ac_cv_prog_CC+set}" = set; then1874if test "${ac_cv_prog_CC+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&61875 echo $ECHO_N "(cached) $ECHO_C" >&6
2286else1876else
@@ -2294,7 +1884,7 @@
2294 IFS=$as_save_IFS1884 IFS=$as_save_IFS
2295 test -z "$as_dir" && as_dir=.1885 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do1886 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then1888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2299 ac_prog_rejected=yes1889 ac_prog_rejected=yes
2300 continue1890 continue
@@ -2305,7 +1895,6 @@
2305 fi1895 fi
2306done1896done
2307done1897done
2308IFS=$as_save_IFS
23091898
2310if test $ac_prog_rejected = yes; then1899if test $ac_prog_rejected = yes; then
2311 # We found a bogon in the path, so make sure we never use it.1900 # We found a bogon in the path, so make sure we never use it.
@@ -2323,23 +1912,22 @@
2323fi1912fi
2324CC=$ac_cv_prog_CC1913CC=$ac_cv_prog_CC
2325if test -n "$CC"; then1914if test -n "$CC"; then
2326 { echo "$as_me:$LINENO: result: $CC" >&51915 echo "$as_me:$LINENO: result: $CC" >&5
2327echo "${ECHO_T}$CC" >&6; }1916echo "${ECHO_T}$CC" >&6
2328else1917else
2329 { echo "$as_me:$LINENO: result: no" >&51918 echo "$as_me:$LINENO: result: no" >&5
2330echo "${ECHO_T}no" >&6; }1919echo "${ECHO_T}no" >&6
2331fi1920fi
2332
23331921
2334fi1922fi
2335if test -z "$CC"; then1923if test -z "$CC"; then
2336 if test -n "$ac_tool_prefix"; then1924 if test -n "$ac_tool_prefix"; then
2337 for ac_prog in cl.exe1925 for ac_prog in cl
2338 do1926 do
2339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.1927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2340set dummy $ac_tool_prefix$ac_prog; ac_word=$21928set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2341{ echo "$as_me:$LINENO: checking for $ac_word" >&51929echo "$as_me:$LINENO: checking for $ac_word" >&5
2342echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1930echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2343if test "${ac_cv_prog_CC+set}" = set; then1931if test "${ac_cv_prog_CC+set}" = set; then
2344 echo $ECHO_N "(cached) $ECHO_C" >&61932 echo $ECHO_N "(cached) $ECHO_C" >&6
2345else1933else
@@ -2352,38 +1940,36 @@
2352 IFS=$as_save_IFS1940 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.1941 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do1942 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"1944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 break 21946 break 2
2359 fi1947 fi
2360done1948done
2361done1949done
2362IFS=$as_save_IFS
23631950
2364fi1951fi
2365fi1952fi
2366CC=$ac_cv_prog_CC1953CC=$ac_cv_prog_CC
2367if test -n "$CC"; then1954if test -n "$CC"; then
2368 { echo "$as_me:$LINENO: result: $CC" >&51955 echo "$as_me:$LINENO: result: $CC" >&5
2369echo "${ECHO_T}$CC" >&6; }1956echo "${ECHO_T}$CC" >&6
2370else1957else
2371 { echo "$as_me:$LINENO: result: no" >&51958 echo "$as_me:$LINENO: result: no" >&5
2372echo "${ECHO_T}no" >&6; }1959echo "${ECHO_T}no" >&6
2373fi1960fi
23741961
2375
2376 test -n "$CC" && break1962 test -n "$CC" && break
2377 done1963 done
2378fi1964fi
2379if test -z "$CC"; then1965if test -z "$CC"; then
2380 ac_ct_CC=$CC1966 ac_ct_CC=$CC
2381 for ac_prog in cl.exe1967 for ac_prog in cl
2382do1968do
2383 # Extract the first word of "$ac_prog", so it can be a program name with args.1969 # Extract the first word of "$ac_prog", so it can be a program name with args.
2384set dummy $ac_prog; ac_word=$21970set dummy $ac_prog; ac_word=$2
2385{ echo "$as_me:$LINENO: checking for $ac_word" >&51971echo "$as_me:$LINENO: checking for $ac_word" >&5
2386echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1972echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1973if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&61974 echo $ECHO_N "(cached) $ECHO_C" >&6
2389else1975else
@@ -2396,45 +1982,29 @@
2396 IFS=$as_save_IFS1982 IFS=$as_save_IFS
2397 test -z "$as_dir" && as_dir=.1983 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do1984 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ac_ct_CC="$ac_prog"1986 ac_cv_prog_ac_ct_CC="$ac_prog"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 break 21988 break 2
2403 fi1989 fi
2404done1990done
2405done1991done
2406IFS=$as_save_IFS
24071992
2408fi1993fi
2409fi1994fi
2410ac_ct_CC=$ac_cv_prog_ac_ct_CC1995ac_ct_CC=$ac_cv_prog_ac_ct_CC
2411if test -n "$ac_ct_CC"; then1996if test -n "$ac_ct_CC"; then
2412 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&51997 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2413echo "${ECHO_T}$ac_ct_CC" >&6; }1998echo "${ECHO_T}$ac_ct_CC" >&6
2414else1999else
2415 { echo "$as_me:$LINENO: result: no" >&52000 echo "$as_me:$LINENO: result: no" >&5
2416echo "${ECHO_T}no" >&6; }2001echo "${ECHO_T}no" >&6
2417fi2002fi
24182003
2419
2420 test -n "$ac_ct_CC" && break2004 test -n "$ac_ct_CC" && break
2421done2005done
24222006
2423 if test "x$ac_ct_CC" = x; then2007 CC=$ac_ct_CC
2424 CC=""
2425 else
2426 case $cross_compiling:$ac_tool_warned in
2427yes:)
2428{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2429whose name does not start with the host triplet. If you think this
2430configuration is useful to you, please write to autoconf@gnu.org." >&5
2431echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2432whose name does not start with the host triplet. If you think this
2433configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2434ac_tool_warned=yes ;;
2435esac
2436 CC=$ac_ct_CC
2437 fi
2438fi2008fi
24392009
2440fi2010fi
@@ -2447,35 +2017,21 @@
2447 { (exit 1); exit 1; }; }2017 { (exit 1); exit 1; }; }
24482018
2449# Provide some information about the compiler.2019# Provide some information about the compiler.
2450echo "$as_me:$LINENO: checking for C compiler version" >&52020echo "$as_me:$LINENO:" \
2021 "checking for C compiler version" >&5
2451ac_compiler=`set X $ac_compile; echo $2`2022ac_compiler=`set X $ac_compile; echo $2`
2452{ (ac_try="$ac_compiler --version >&5"2023{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2453case "(($ac_try" in2024 (eval $ac_compiler --version </dev/null >&5) 2>&5
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2025 ac_status=$?
2455 *) ac_try_echo=$ac_try;;2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456esac2027 (exit $ac_status); }
2457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52028{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2458 (eval "$ac_compiler --version >&5") 2>&52029 (eval $ac_compiler -v </dev/null >&5) 2>&5
2459 ac_status=$?2030 ac_status=$?
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&52031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }2032 (exit $ac_status); }
2462{ (ac_try="$ac_compiler -v >&5"2033{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2463case "(($ac_try" in2034 (eval $ac_compiler -V </dev/null >&5) 2>&5
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466esac
2467eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2468 (eval "$ac_compiler -v >&5") 2>&5
2469 ac_status=$?
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }
2472{ (ac_try="$ac_compiler -V >&5"
2473case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476esac
2477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 (eval "$ac_compiler -V >&5") 2>&5
2479 ac_status=$?2035 ac_status=$?
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&52036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }2037 (exit $ac_status); }
@@ -2500,77 +2056,47 @@
2500# Try to create an executable without -o first, disregard a.out.2056# Try to create an executable without -o first, disregard a.out.
2501# It will help us diagnose broken compilers, and finding out an intuition2057# It will help us diagnose broken compilers, and finding out an intuition
2502# of exeext.2058# of exeext.
2503{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&52059echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2504echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }2060echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2505ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`2061ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2506#2062if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2507# List of possible output files, starting from the most likely.2063 (eval $ac_link_default) 2>&5
2508# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2509# only as a last resort. b.out is created by i960 compilers.
2510ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2511#
2512# The IRIX 6 linker writes into existing files which may not be
2513# executable, retaining their permissions. Remove them first so a
2514# subsequent execution test works.
2515ac_rmfiles=
2516for ac_file in $ac_files
2517do
2518 case $ac_file in
2519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2520 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2521 esac
2522done
2523rm -f $ac_rmfiles
2524
2525if { (ac_try="$ac_link_default"
2526case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529esac
2530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2531 (eval "$ac_link_default") 2>&5
2532 ac_status=$?2064 ac_status=$?
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&52065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; then2066 (exit $ac_status); }; then
2535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.2067 # Find the output, starting from the most likely. This scheme is
2536# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'2068# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2537# in a Makefile. We should not override ac_cv_exeext if it was cached,2069# resort.
2538# so that the user can short-circuit this test for compilers unknown to2070
2539# Autoconf.2071# Be careful to initialize this variable, since it used to be cached.
2540for ac_file in $ac_files ''2072# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2073ac_cv_exeext=
2074# b.out is created by i960 compilers.
2075for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2541do2076do
2542 test -f "$ac_file" || continue2077 test -f "$ac_file" || continue
2543 case $ac_file in2078 case $ac_file in
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )2079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2080 ;;
2081 conftest.$ac_ext )
2082 # This is the source file.
2545 ;;2083 ;;
2546 [ab].out )2084 [ab].out )
2547 # We found the default executable, but exeext='' is most2085 # We found the default executable, but exeext='' is most
2548 # certainly right.2086 # certainly right.
2549 break;;2087 break;;
2550 *.* )2088 *.* )
2551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;2089 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 then :; else2090 # FIXME: I believe we export ac_cv_exeext for Libtool,
2553 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2091 # but it would be cool to find out if it's true. Does anybody
2554 fi2092 # maintain Libtool? --akim.
2555 # We set ac_cv_exeext here because the later test for it is not2093 export ac_cv_exeext
2556 # safe: cross compilers may not add the suffix if given an `-o'
2557 # argument, so we may need to know it at that point already.
2558 # Even if this section looks crufty: it has the advantage of
2559 # actually working.
2560 break;;2094 break;;
2561 * )2095 * )
2562 break;;2096 break;;
2563 esac2097 esac
2564done2098done
2565test "$ac_cv_exeext" = no && ac_cv_exeext=
2566
2567else2099else
2568 ac_file=''
2569fi
2570
2571{ echo "$as_me:$LINENO: result: $ac_file" >&5
2572echo "${ECHO_T}$ac_file" >&6; }
2573if test -z "$ac_file"; then
2574 echo "$as_me: failed program was:" >&52100 echo "$as_me: failed program was:" >&5
2575sed 's/^/| /' conftest.$ac_ext >&52101sed 's/^/| /' conftest.$ac_ext >&5
25762102
@@ -2582,21 +2108,19 @@
2582fi2108fi
25832109
2584ac_exeext=$ac_cv_exeext2110ac_exeext=$ac_cv_exeext
2111echo "$as_me:$LINENO: result: $ac_file" >&5
2112echo "${ECHO_T}$ac_file" >&6
25852113
2586# Check that the compiler produces executables we can run. If not, either2114# Check the compiler produces executables we can run. If not, either
2587# the compiler is broken, or we cross compile.2115# the compiler is broken, or we cross compile.
2588{ echo "$as_me:$LINENO: checking whether the C compiler works" >&52116echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2589echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }2117echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2590# FIXME: These cross compiler hacks should be removed for Autoconf 3.02118# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2591# If not cross compiling, check that we can run a simple program.2119# If not cross compiling, check that we can run a simple program.
2592if test "$cross_compiling" != yes; then2120if test "$cross_compiling" != yes; then
2593 if { ac_try='./$ac_file'2121 if { ac_try='./$ac_file'
2594 { (case "(($ac_try" in2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2123 (eval $ac_try) 2>&5
2596 *) ac_try_echo=$ac_try;;
2597esac
2598eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_try") 2>&5
2600 ac_status=$?2124 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&52125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then2126 (exit $ac_status); }; }; then
@@ -2615,27 +2139,22 @@
2615 fi2139 fi
2616 fi2140 fi
2617fi2141fi
2618{ echo "$as_me:$LINENO: result: yes" >&52142echo "$as_me:$LINENO: result: yes" >&5
2619echo "${ECHO_T}yes" >&6; }2143echo "${ECHO_T}yes" >&6
26202144
2621rm -f a.out a.exe conftest$ac_cv_exeext b.out2145rm -f a.out a.exe conftest$ac_cv_exeext b.out
2622ac_clean_files=$ac_clean_files_save2146ac_clean_files=$ac_clean_files_save
2623# Check that the compiler produces executables we can run. If not, either2147# Check the compiler produces executables we can run. If not, either
2624# the compiler is broken, or we cross compile.2148# the compiler is broken, or we cross compile.
2625{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&52149echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2626echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2150echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2627{ echo "$as_me:$LINENO: result: $cross_compiling" >&52151echo "$as_me:$LINENO: result: $cross_compiling" >&5
2628echo "${ECHO_T}$cross_compiling" >&6; }2152echo "${ECHO_T}$cross_compiling" >&6
26292153
2630{ echo "$as_me:$LINENO: checking for suffix of executables" >&52154echo "$as_me:$LINENO: checking for suffix of executables" >&5
2631echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2155echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2632if { (ac_try="$ac_link"2156if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2633case "(($ac_try" in2157 (eval $ac_link) 2>&5
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2636esac
2637eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2638 (eval "$ac_link") 2>&5
2639 ac_status=$?2158 ac_status=$?
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&52159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; then2160 (exit $ac_status); }; then
@@ -2646,8 +2165,9 @@
2646for ac_file in conftest.exe conftest conftest.*; do2165for ac_file in conftest.exe conftest conftest.*; do
2647 test -f "$ac_file" || continue2166 test -f "$ac_file" || continue
2648 case $ac_file in2167 case $ac_file in
2649 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2650 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2169 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2170 export ac_cv_exeext
2651 break;;2171 break;;
2652 * ) break;;2172 * ) break;;
2653 esac2173 esac
@@ -2661,14 +2181,14 @@
2661fi2181fi
26622182
2663rm -f conftest$ac_cv_exeext2183rm -f conftest$ac_cv_exeext
2664{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52184echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2665echo "${ECHO_T}$ac_cv_exeext" >&6; }2185echo "${ECHO_T}$ac_cv_exeext" >&6
26662186
2667rm -f conftest.$ac_ext2187rm -f conftest.$ac_ext
2668EXEEXT=$ac_cv_exeext2188EXEEXT=$ac_cv_exeext
2669ac_exeext=$EXEEXT2189ac_exeext=$EXEEXT
2670{ echo "$as_me:$LINENO: checking for suffix of object files" >&52190echo "$as_me:$LINENO: checking for suffix of object files" >&5
2671echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }2191echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2672if test "${ac_cv_objext+set}" = set; then2192if test "${ac_cv_objext+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&62193 echo $ECHO_N "(cached) $ECHO_C" >&6
2674else2194else
@@ -2688,20 +2208,14 @@
2688}2208}
2689_ACEOF2209_ACEOF
2690rm -f conftest.o conftest.obj2210rm -f conftest.o conftest.obj
2691if { (ac_try="$ac_compile"2211if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692case "(($ac_try" in2212 (eval $ac_compile) 2>&5
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2695esac
2696eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2697 (eval "$ac_compile") 2>&5
2698 ac_status=$?2213 ac_status=$?
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&52214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; then2215 (exit $ac_status); }; then
2701 for ac_file in conftest.o conftest.obj conftest.*; do2216 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2702 test -f "$ac_file" || continue;
2703 case $ac_file in2217 case $ac_file in
2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2705 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`2219 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2706 break;;2220 break;;
2707 esac2221 esac
@@ -2719,12 +2233,12 @@
27192233
2720rm -f conftest.$ac_cv_objext conftest.$ac_ext2234rm -f conftest.$ac_cv_objext conftest.$ac_ext
2721fi2235fi
2722{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&52236echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2723echo "${ECHO_T}$ac_cv_objext" >&6; }2237echo "${ECHO_T}$ac_cv_objext" >&6
2724OBJEXT=$ac_cv_objext2238OBJEXT=$ac_cv_objext
2725ac_objext=$OBJEXT2239ac_objext=$OBJEXT
2726{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52240echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2727echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2241echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2728if test "${ac_cv_c_compiler_gnu+set}" = set; then2242if test "${ac_cv_c_compiler_gnu+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&62243 echo $ECHO_N "(cached) $ECHO_C" >&6
2730else2244else
@@ -2747,176 +2261,97 @@
2747}2261}
2748_ACEOF2262_ACEOF
2749rm -f conftest.$ac_objext2263rm -f conftest.$ac_objext
2750if { (ac_try="$ac_compile"2264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751case "(($ac_try" in2265 (eval $ac_compile) 2>conftest.er1
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754esac
2755eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2757 ac_status=$?2266 ac_status=$?
2758 grep -v '^ *+' conftest.er1 >conftest.err2267 grep -v '^ *+' conftest.er1 >conftest.err
2759 rm -f conftest.er12268 rm -f conftest.er1
2760 cat conftest.err >&52269 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&52270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {2271 (exit $ac_status); } &&
2763 test -z "$ac_c_werror_flag" ||2272 { ac_try='test -z "$ac_c_werror_flag"
2764 test ! -s conftest.err2273 || test ! -s conftest.err'
2765 } && test -s conftest.$ac_objext; then2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 (eval $ac_try) 2>&5
2276 ac_status=$?
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; } &&
2279 { ac_try='test -s conftest.$ac_objext'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 (eval $ac_try) 2>&5
2282 ac_status=$?
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2766 ac_compiler_gnu=yes2285 ac_compiler_gnu=yes
2767else2286else
2768 echo "$as_me: failed program was:" >&52287 echo "$as_me: failed program was:" >&5
2769sed 's/^/| /' conftest.$ac_ext >&52288sed 's/^/| /' conftest.$ac_ext >&5
27702289
2771 ac_compiler_gnu=no2290ac_compiler_gnu=no
2772fi2291fi
27732292rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775ac_cv_c_compiler_gnu=$ac_compiler_gnu2293ac_cv_c_compiler_gnu=$ac_compiler_gnu
27762294
2777fi2295fi
2778{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52296echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2779echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2297echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2780GCC=`test $ac_compiler_gnu = yes && echo yes`2298GCC=`test $ac_compiler_gnu = yes && echo yes`
2781ac_test_CFLAGS=${CFLAGS+set}2299ac_test_CFLAGS=${CFLAGS+set}
2782ac_save_CFLAGS=$CFLAGS2300ac_save_CFLAGS=$CFLAGS
2783{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52301CFLAGS="-g"
2784echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2302echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2303echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2785if test "${ac_cv_prog_cc_g+set}" = set; then2304if test "${ac_cv_prog_cc_g+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&62305 echo $ECHO_N "(cached) $ECHO_C" >&6
2787else2306else
2788 ac_save_c_werror_flag=$ac_c_werror_flag2307 cat >conftest.$ac_ext <<_ACEOF
2789 ac_c_werror_flag=yes2308/* confdefs.h. */
2790 ac_cv_prog_cc_g=no2309_ACEOF
2791 CFLAGS="-g"2310cat confdefs.h >>conftest.$ac_ext
2792 cat >conftest.$ac_ext <<_ACEOF2311cat >>conftest.$ac_ext <<_ACEOF
2793/* confdefs.h. */2312/* end confdefs.h. */
2794_ACEOF2313
2795cat confdefs.h >>conftest.$ac_ext2314int
2796cat >>conftest.$ac_ext <<_ACEOF2315main ()
2797/* end confdefs.h. */2316{
27982317
2799int2318 ;
2800main ()2319 return 0;
2801{2320}
28022321_ACEOF
2803 ;2322rm -f conftest.$ac_objext
2804 return 0;2323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805}2324 (eval $ac_compile) 2>conftest.er1
2806_ACEOF2325 ac_status=$?
2807rm -f conftest.$ac_objext2326 grep -v '^ *+' conftest.er1 >conftest.err
2808if { (ac_try="$ac_compile"2327 rm -f conftest.er1
2809case "(($ac_try" in2328 cat conftest.err >&5
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 *) ac_try_echo=$ac_try;;2330 (exit $ac_status); } &&
2812esac2331 { ac_try='test -z "$ac_c_werror_flag"
2813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52332 || test ! -s conftest.err'
2814 (eval "$ac_compile") 2>conftest.er12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 ac_status=$?2334 (eval $ac_try) 2>&5
2816 grep -v '^ *+' conftest.er1 >conftest.err2335 ac_status=$?
2817 rm -f conftest.er12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 cat conftest.err >&52337 (exit $ac_status); }; } &&
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&52338 { ac_try='test -s conftest.$ac_objext'
2820 (exit $ac_status); } && {2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2821 test -z "$ac_c_werror_flag" ||2340 (eval $ac_try) 2>&5
2822 test ! -s conftest.err2341 ac_status=$?
2823 } && test -s conftest.$ac_objext; then2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 ac_cv_prog_cc_g=yes2343 (exit $ac_status); }; }; then
2825else2344 ac_cv_prog_cc_g=yes
2826 echo "$as_me: failed program was:" >&52345else
2827sed 's/^/| /' conftest.$ac_ext >&52346 echo "$as_me: failed program was:" >&5
28282347sed 's/^/| /' conftest.$ac_ext >&5
2829 CFLAGS=""2348
2830 cat >conftest.$ac_ext <<_ACEOF2349ac_cv_prog_cc_g=no
2831/* confdefs.h. */2350fi
2832_ACEOF2351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833cat confdefs.h >>conftest.$ac_ext2352fi
2834cat >>conftest.$ac_ext <<_ACEOF2353echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2835/* end confdefs.h. */2354echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2836
2837int
2838main ()
2839{
2840
2841 ;
2842 return 0;
2843}
2844_ACEOF
2845rm -f conftest.$ac_objext
2846if { (ac_try="$ac_compile"
2847case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2850esac
2851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_compile") 2>conftest.er1
2853 ac_status=$?
2854 grep -v '^ *+' conftest.er1 >conftest.err
2855 rm -f conftest.er1
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } && {
2859 test -z "$ac_c_werror_flag" ||
2860 test ! -s conftest.err
2861 } && test -s conftest.$ac_objext; then
2862 :
2863else
2864 echo "$as_me: failed program was:" >&5
2865sed 's/^/| /' conftest.$ac_ext >&5
2866
2867 ac_c_werror_flag=$ac_save_c_werror_flag
2868 CFLAGS="-g"
2869 cat >conftest.$ac_ext <<_ACEOF
2870/* confdefs.h. */
2871_ACEOF
2872cat confdefs.h >>conftest.$ac_ext
2873cat >>conftest.$ac_ext <<_ACEOF
2874/* end confdefs.h. */
2875
2876int
2877main ()
2878{
2879
2880 ;
2881 return 0;
2882}
2883_ACEOF
2884rm -f conftest.$ac_objext
2885if { (ac_try="$ac_compile"
2886case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889esac
2890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2892 ac_status=$?
2893 grep -v '^ *+' conftest.er1 >conftest.err
2894 rm -f conftest.er1
2895 cat conftest.err >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2901 ac_cv_prog_cc_g=yes
2902else
2903 echo "$as_me: failed program was:" >&5
2904sed 's/^/| /' conftest.$ac_ext >&5
2905
2906
2907fi
2908
2909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910fi
2911
2912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913fi
2914
2915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 ac_c_werror_flag=$ac_save_c_werror_flag
2917fi
2918{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2919echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2920if test "$ac_test_CFLAGS" = set; then2355if test "$ac_test_CFLAGS" = set; then
2921 CFLAGS=$ac_save_CFLAGS2356 CFLAGS=$ac_save_CFLAGS
2922elif test $ac_cv_prog_cc_g = yes; then2357elif test $ac_cv_prog_cc_g = yes; then
@@ -2932,12 +2367,12 @@
2932 CFLAGS=2367 CFLAGS=
2933 fi2368 fi
2934fi2369fi
2935{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52370echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2936echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2371echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2937if test "${ac_cv_prog_cc_c89+set}" = set; then2372if test "${ac_cv_prog_cc_stdc+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&62373 echo $ECHO_N "(cached) $ECHO_C" >&6
2939else2374else
2940 ac_cv_prog_cc_c89=no2375 ac_cv_prog_cc_stdc=no
2941ac_save_CC=$CC2376ac_save_CC=$CC
2942cat >conftest.$ac_ext <<_ACEOF2377cat >conftest.$ac_ext <<_ACEOF
2943/* confdefs.h. */2378/* confdefs.h. */
@@ -2971,17 +2406,12 @@
2971/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2406/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2972 function prototypes and stuff, but not '\xHH' hex character constants.2407 function prototypes and stuff, but not '\xHH' hex character constants.
2973 These don't provoke an error unfortunately, instead are silently treated2408 These don't provoke an error unfortunately, instead are silently treated
2974 as 'x'. The following induces an error, until -std is added to get2409 as 'x'. The following induces an error, until -std1 is added to get
2975 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2976 array size at least. It's necessary to write '\x00'==0 to get something2411 array size at least. It's necessary to write '\x00'==0 to get something
2977 that's true only with -std. */2412 that's true only with -std1. */
2978int osf4_cc_array ['\x00' == 0 ? 1 : -1];2413int osf4_cc_array ['\x00' == 0 ? 1 : -1];
29792414
2980/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2981 inside strings and character constants. */
2982#define FOO(x) 'x'
2983int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2984
2985int test (int i, double x);2415int test (int i, double x);
2986struct s1 {int (*f) (int a);};2416struct s1 {int (*f) (int a);};
2987struct s2 {int (*f) (double a);};2417struct s2 {int (*f) (double a);};
@@ -2996,57 +2426,205 @@
2996 return 0;2426 return 0;
2997}2427}
2998_ACEOF2428_ACEOF
2999for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2429# Don't try gcc -ansi; that turns off useful extensions and
3000 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2430# breaks some systems' header files.
2431# AIX -qlanglvl=ansi
2432# Ultrix and OSF/1 -std1
2433# HP-UX 10.20 and later -Ae
2434# HP-UX older versions -Aa -D_HPUX_SOURCE
2435# SVR4 -Xc -D__EXTENSIONS__
2436for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3001do2437do
3002 CC="$ac_save_CC $ac_arg"2438 CC="$ac_save_CC $ac_arg"
3003 rm -f conftest.$ac_objext2439 rm -f conftest.$ac_objext
3004if { (ac_try="$ac_compile"2440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3005case "(($ac_try" in2441 (eval $ac_compile) 2>conftest.er1
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008esac
3009eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3010 (eval "$ac_compile") 2>conftest.er1
3011 ac_status=$?2442 ac_status=$?
3012 grep -v '^ *+' conftest.er1 >conftest.err2443 grep -v '^ *+' conftest.er1 >conftest.err
3013 rm -f conftest.er12444 rm -f conftest.er1
3014 cat conftest.err >&52445 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&52446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } && {2447 (exit $ac_status); } &&
3017 test -z "$ac_c_werror_flag" ||2448 { ac_try='test -z "$ac_c_werror_flag"
3018 test ! -s conftest.err2449 || test ! -s conftest.err'
3019 } && test -s conftest.$ac_objext; then2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 ac_cv_prog_cc_c89=$ac_arg2451 (eval $ac_try) 2>&5
2452 ac_status=$?
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; } &&
2455 { ac_try='test -s conftest.$ac_objext'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 (eval $ac_try) 2>&5
2458 ac_status=$?
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; }; then
2461 ac_cv_prog_cc_stdc=$ac_arg
2462break
3021else2463else
3022 echo "$as_me: failed program was:" >&52464 echo "$as_me: failed program was:" >&5
3023sed 's/^/| /' conftest.$ac_ext >&52465sed 's/^/| /' conftest.$ac_ext >&5
30242466
3025
3026fi2467fi
30272468rm -f conftest.err conftest.$ac_objext
3028rm -f core conftest.err conftest.$ac_objext
3029 test "x$ac_cv_prog_cc_c89" != "xno" && break
3030done2469done
3031rm -f conftest.$ac_ext2470rm -f conftest.$ac_ext conftest.$ac_objext
3032CC=$ac_save_CC2471CC=$ac_save_CC
30332472
3034fi2473fi
3035# AC_CACHE_VAL2474
3036case "x$ac_cv_prog_cc_c89" in2475case "x$ac_cv_prog_cc_stdc" in
3037 x)2476 x|xno)
3038 { echo "$as_me:$LINENO: result: none needed" >&52477 echo "$as_me:$LINENO: result: none needed" >&5
3039echo "${ECHO_T}none needed" >&6; } ;;2478echo "${ECHO_T}none needed" >&6 ;;
3040 xno)
3041 { echo "$as_me:$LINENO: result: unsupported" >&5
3042echo "${ECHO_T}unsupported" >&6; } ;;
3043 *)2479 *)
3044 CC="$CC $ac_cv_prog_cc_c89"2480 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3045 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52481echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3046echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2482 CC="$CC $ac_cv_prog_cc_stdc" ;;
3047esac2483esac
30482484
30492485# Some people use a C++ compiler to compile C. Since we use `exit',
2486# in C++ we need to declare it. In case someone uses the same compiler
2487# for both compiling C and C++ we need to have the C++ compiler decide
2488# the declaration of exit, since it's the most demanding environment.
2489cat >conftest.$ac_ext <<_ACEOF
2490#ifndef __cplusplus
2491 choke me
2492#endif
2493_ACEOF
2494rm -f conftest.$ac_objext
2495if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2497 ac_status=$?
2498 grep -v '^ *+' conftest.er1 >conftest.err
2499 rm -f conftest.er1
2500 cat conftest.err >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try='test -z "$ac_c_werror_flag"
2504 || test ! -s conftest.err'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506 (eval $ac_try) 2>&5
2507 ac_status=$?
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; } &&
2510 { ac_try='test -s conftest.$ac_objext'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 (eval $ac_try) 2>&5
2513 ac_status=$?
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2516 for ac_declaration in \
2517 '' \
2518 'extern "C" void std::exit (int) throw (); using std::exit;' \
2519 'extern "C" void std::exit (int); using std::exit;' \
2520 'extern "C" void exit (int) throw ();' \
2521 'extern "C" void exit (int);' \
2522 'void exit (int);'
2523do
2524 cat >conftest.$ac_ext <<_ACEOF
2525/* confdefs.h. */
2526_ACEOF
2527cat confdefs.h >>conftest.$ac_ext
2528cat >>conftest.$ac_ext <<_ACEOF
2529/* end confdefs.h. */
2530$ac_declaration
2531#include <stdlib.h>
2532int
2533main ()
2534{
2535exit (42);
2536 ;
2537 return 0;
2538}
2539_ACEOF
2540rm -f conftest.$ac_objext
2541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542 (eval $ac_compile) 2>conftest.er1
2543 ac_status=$?
2544 grep -v '^ *+' conftest.er1 >conftest.err
2545 rm -f conftest.er1
2546 cat conftest.err >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); } &&
2549 { ac_try='test -z "$ac_c_werror_flag"
2550 || test ! -s conftest.err'
2551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 (eval $ac_try) 2>&5
2553 ac_status=$?
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }; } &&
2556 { ac_try='test -s conftest.$ac_objext'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 (eval $ac_try) 2>&5
2559 ac_status=$?
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2562 :
2563else
2564 echo "$as_me: failed program was:" >&5
2565sed 's/^/| /' conftest.$ac_ext >&5
2566
2567continue
2568fi
2569rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2570 cat >conftest.$ac_ext <<_ACEOF
2571/* confdefs.h. */
2572_ACEOF
2573cat confdefs.h >>conftest.$ac_ext
2574cat >>conftest.$ac_ext <<_ACEOF
2575/* end confdefs.h. */
2576$ac_declaration
2577int
2578main ()
2579{
2580exit (42);
2581 ;
2582 return 0;
2583}
2584_ACEOF
2585rm -f conftest.$ac_objext
2586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>conftest.er1
2588 ac_status=$?
2589 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1
2591 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_c_werror_flag"
2595 || test ! -s conftest.err'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 (eval $ac_try) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; } &&
2601 { ac_try='test -s conftest.$ac_objext'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 (eval $ac_try) 2>&5
2604 ac_status=$?
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; }; then
2607 break
2608else
2609 echo "$as_me: failed program was:" >&5
2610sed 's/^/| /' conftest.$ac_ext >&5
2611
2612fi
2613rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614done
2615rm -f conftest*
2616if test -n "$ac_declaration"; then
2617 echo '#ifdef __cplusplus' >>confdefs.h
2618 echo $ac_declaration >>confdefs.h
2619 echo '#endif' >>confdefs.h
2620fi
2621
2622else
2623 echo "$as_me: failed program was:" >&5
2624sed 's/^/| /' conftest.$ac_ext >&5
2625
2626fi
2627rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3050ac_ext=c2628ac_ext=c
3051ac_cpp='$CPP $CPPFLAGS'2629ac_cpp='$CPP $CPPFLAGS'
3052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3054,7 +2632,7 @@
3054ac_compiler_gnu=$ac_cv_c_compiler_gnu2632ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055DEPDIR="${am__leading_dot}deps"2633DEPDIR="${am__leading_dot}deps"
30562634
3057ac_config_commands="$ac_config_commands depfiles"2635 ac_config_commands="$ac_config_commands depfiles"
30582636
30592637
3060am_make=${MAKE-make}2638am_make=${MAKE-make}
@@ -3064,8 +2642,8 @@
3064.PHONY: am__doit2642.PHONY: am__doit
3065END2643END
3066# If we don't find an include directive, just comment out the code.2644# If we don't find an include directive, just comment out the code.
3067{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52645echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3068echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }2646echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3069am__include="#"2647am__include="#"
3070am__quote=2648am__quote=
3071_am_result=none2649_am_result=none
@@ -3092,15 +2670,15 @@
3092fi2670fi
30932671
30942672
3095{ echo "$as_me:$LINENO: result: $_am_result" >&52673echo "$as_me:$LINENO: result: $_am_result" >&5
3096echo "${ECHO_T}$_am_result" >&6; }2674echo "${ECHO_T}$_am_result" >&6
3097rm -f confinc confmf2675rm -f confinc confmf
30982676
3099# Check whether --enable-dependency-tracking was given.2677# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3100if test "${enable_dependency_tracking+set}" = set; then2678if test "${enable_dependency_tracking+set}" = set; then
3101 enableval=$enable_dependency_tracking;2679 enableval="$enable_dependency_tracking"
3102fi
31032680
2681fi;
3104if test "x$enable_dependency_tracking" != xno; then2682if test "x$enable_dependency_tracking" != xno; then
3105 am_depcomp="$ac_aux_dir/depcomp"2683 am_depcomp="$ac_aux_dir/depcomp"
3106 AMDEPBACKSLASH='\'2684 AMDEPBACKSLASH='\'
@@ -3120,8 +2698,8 @@
31202698
3121depcc="$CC" am_compiler_list=2699depcc="$CC" am_compiler_list=
31222700
3123{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52701echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3124echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2702echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3125if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2703if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&62704 echo $ECHO_N "(cached) $ECHO_C" >&6
3127else2705else
@@ -3210,8 +2788,8 @@
3210fi2788fi
32112789
3212fi2790fi
3213{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52791echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3214echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2792echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3215CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2793CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
32162794
32172795
@@ -3228,15 +2806,15 @@
32282806
32292807
32302808
3231{ echo "$as_me:$LINENO: checking for udev version" >&52809echo "$as_me:$LINENO: checking for udev version" >&5
3232echo $ECHO_N "checking for udev version... $ECHO_C" >&6; }2810echo $ECHO_N "checking for udev version... $ECHO_C" >&6
3233udev_ver=`udevadm info -V | sed 's/^0-9*\(0-9\)/\1/'`2811udev_ver=`udevinfo -V | awk '{ print $3 }'`
3234if test -n "$udev_ver"; then2812if test -n "$udev_ver"; then
3235 { echo "$as_me:$LINENO: result: $udev_ver" >&52813 echo "$as_me:$LINENO: result: $udev_ver" >&5
3236echo "${ECHO_T}$udev_ver" >&6; }2814echo "${ECHO_T}$udev_ver" >&6
3237else2815else
3238 { echo "$as_me:$LINENO: result: none" >&52816 echo "$as_me:$LINENO: result: none" >&5
3239echo "${ECHO_T}none" >&6; }2817echo "${ECHO_T}none" >&6
3240 udev_ver="0"2818 udev_ver="0"
3241fi2819fi
3242if test "$udev_ver" -lt 057; then2820if test "$udev_ver" -lt 057; then
@@ -3245,7 +2823,62 @@
3245 { (exit 1); exit 1; }; }2823 { (exit 1); exit 1; }; }
3246fi2824fi
32472825
3248ac_config_files="$ac_config_files Makefile"2826
2827# Check whether --with-udev or --without-udev was given.
2828if test "${with_udev+set}" = set; then
2829 withval="$with_udev"
2830 udev_dir="$withval"
2831else
2832 udev_dir="/etc/udev"
2833fi;
2834as_ac_File=`echo "ac_cv_file_$udev_dir/udev.conf" | $as_tr_sh`
2835echo "$as_me:$LINENO: checking for $udev_dir/udev.conf" >&5
2836echo $ECHO_N "checking for $udev_dir/udev.conf... $ECHO_C" >&6
2837if eval "test \"\${$as_ac_File+set}\" = set"; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2839else
2840 test "$cross_compiling" = yes &&
2841 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2842echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2843 { (exit 1); exit 1; }; }
2844if test -r "$udev_dir/udev.conf"; then
2845 eval "$as_ac_File=yes"
2846else
2847 eval "$as_ac_File=no"
2848fi
2849fi
2850echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2851echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2852if test `eval echo '${'$as_ac_File'}'` = yes; then
2853 udev_conf="$udev_dir/udev.conf"
2854else
2855 udev_conf=""
2856fi
2857
2858
2859echo "$as_me:$LINENO: checking for udev rules directory" >&5
2860echo $ECHO_N "checking for udev rules directory... $ECHO_C" >&6
2861udev_rules=""
2862if test -r "$udev_conf"; then
2863 udev_rules=`. "$udev_conf"; echo "$udev_rules"`
2864fi
2865if test -n "$udev_rules"; then
2866 echo "$as_me:$LINENO: result: $udev_rules" >&5
2867echo "${ECHO_T}$udev_rules" >&6
2868else
2869 udev_rules="$udev_dir/rules.d"
2870 echo "$as_me:$LINENO: result: not found; assuming $udev_rules" >&5
2871echo "${ECHO_T}not found; assuming $udev_rules" >&6
2872fi
2873if test ! -d "$udev_rules"; then
2874 { { echo "$as_me:$LINENO: error: $udev_rules not found" >&5
2875echo "$as_me: error: $udev_rules not found" >&2;}
2876 { (exit 1); exit 1; }; }
2877fi
2878UDEV_RULES_DIR=$udev_rules
2879
2880
2881 ac_config_files="$ac_config_files Makefile"
32492882
3250cat >confcache <<\_ACEOF2883cat >confcache <<\_ACEOF
3251# This file is a shell script that caches the results of configure2884# This file is a shell script that caches the results of configure
@@ -3265,58 +2898,39 @@
32652898
3266# The following way of writing the cache mishandles newlines in values,2899# The following way of writing the cache mishandles newlines in values,
3267# but we know of no workaround that is simple, portable, and efficient.2900# but we know of no workaround that is simple, portable, and efficient.
3268# So, we kill variables containing newlines.2901# So, don't put newlines in cache variables' values.
3269# Ultrix sh set writes to stderr and can't be redirected directly,2902# Ultrix sh set writes to stderr and can't be redirected directly,
3270# and sets the high bit in the cache file unless we assign to the vars.2903# and sets the high bit in the cache file unless we assign to the vars.
3271(2904{
3272 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3273 eval ac_val=\$$ac_var
3274 case $ac_val in #(
3275 *${as_nl}*)
3276 case $ac_var in #(
3277 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3278echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3279 esac
3280 case $ac_var in #(
3281 _ | IFS | as_nl) ;; #(
3282 *) $as_unset $ac_var ;;
3283 esac ;;
3284 esac
3285 done
3286
3287 (set) 2>&1 |2905 (set) 2>&1 |
3288 case $as_nl`(ac_space=' '; set) 2>&1` in #(2906 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3289 *${as_nl}ac_space=\ *)2907 *ac_space=\ *)
3290 # `set' does not quote correctly, so add quotes (double-quote2908 # `set' does not quote correctly, so add quotes (double-quote
3291 # substitution turns \\\\ into \\, and sed turns \\ into \).2909 # substitution turns \\\\ into \\, and sed turns \\ into \).
3292 sed -n \2910 sed -n \
3293 "s/'/'\\\\''/g;2911 "s/'/'\\\\''/g;
3294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"2912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3295 ;; #(2913 ;;
3296 *)2914 *)
3297 # `set' quotes correctly as required by POSIX, so do not add quotes.2915 # `set' quotes correctly as required by POSIX, so do not add quotes.
3298 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"2916 sed -n \
2917 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3299 ;;2918 ;;
3300 esac |2919 esac;
3301 sort2920} |
3302) |
3303 sed '2921 sed '
3304 /^ac_cv_env_/b end
3305 t clear2922 t clear
3306 :clear2923 : clear
3307 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/2924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3308 t end2925 t end
3309 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/2926 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3310 :end' >>confcache2927 : end' >>confcache
3311if diff "$cache_file" confcache >/dev/null 2>&1; then :; else2928if diff $cache_file confcache >/dev/null 2>&1; then :; else
3312 if test -w "$cache_file"; then2929 if test -w $cache_file; then
3313 test "x$cache_file" != "x/dev/null" &&2930 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3314 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3315echo "$as_me: updating cache $cache_file" >&6;}
3316 cat confcache >$cache_file2931 cat confcache >$cache_file
3317 else2932 else
3318 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&52933 echo "not updating unwritable cache $cache_file"
3319echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3320 fi2934 fi
3321fi2935fi
3322rm -f confcache2936rm -f confcache
@@ -3325,48 +2939,63 @@
3325# Let make expand exec_prefix.2939# Let make expand exec_prefix.
3326test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'2940test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33272941
2942# VPATH may cause trouble with some makes, so we remove $(srcdir),
2943# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2944# trailing colons and then remove the whole line if VPATH becomes empty
2945# (actually we leave an empty line to preserve line numbers).
2946if test "x$srcdir" = x.; then
2947 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2948s/:*\$(srcdir):*/:/;
2949s/:*\${srcdir}:*/:/;
2950s/:*@srcdir@:*/:/;
2951s/^\([^=]*=[ ]*\):*/\1/;
2952s/:*$//;
2953s/^[^=]*=[ ]*$//;
2954}'
2955fi
2956
3328# Transform confdefs.h into DEFS.2957# Transform confdefs.h into DEFS.
3329# Protect against shell expansion while executing Makefile rules.2958# Protect against shell expansion while executing Makefile rules.
3330# Protect against Makefile macro expansion.2959# Protect against Makefile macro expansion.
3331#2960#
3332# If the first sed substitution is executed (which looks for macros that2961# If the first sed substitution is executed (which looks for macros that
3333# take arguments), then branch to the quote section. Otherwise,2962# take arguments), then we branch to the quote section. Otherwise,
3334# look for a macro that doesn't take arguments.2963# look for a macro that doesn't take arguments.
3335ac_script='2964cat >confdef2opt.sed <<\_ACEOF
3336t clear2965t clear
3337:clear2966: clear
3338s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g2967s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3339t quote2968t quote
3340s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g2969s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3341t quote2970t quote
3342b any2971d
3343:quote2972: quote
3344s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g2973s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3345s/\[/\\&/g2974s,\[,\\&,g
3346s/\]/\\&/g2975s,\],\\&,g
3347s/\$/$$/g2976s,\$,$$,g
3348H2977p
3349:any2978_ACEOF
3350${2979# We use echo to avoid assuming a particular line-breaking character.
3351 g2980# The extra dot is to prevent the shell from consuming trailing
3352 s/^\n//2981# line-breaks from the sub-command output. A line-break within
3353 s/\n/ /g2982# single-quotes doesn't work because, if this script is created in a
3354 p2983# platform that uses two characters for line-breaks (e.g., DOS), tr
3355}2984# would break.
3356'2985ac_LF_and_DOT=`echo; echo .`
3357DEFS=`sed -n "$ac_script" confdefs.h`2986DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2987rm -f confdef2opt.sed
33582988
33592989
3360ac_libobjs=2990ac_libobjs=
3361ac_ltlibobjs=2991ac_ltlibobjs=
3362for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue2992for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3363 # 1. Remove the extension, and $U if already installed.2993 # 1. Remove the extension, and $U if already installed.
3364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'2994 ac_i=`echo "$ac_i" |
3365 ac_i=`echo "$ac_i" | sed "$ac_script"`2995 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR2996 # 2. Add them.
3367 # will be set to the directory where LIBOBJS objects are built.2997 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3368 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"2998 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3369 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3370done2999done
3371LIBOBJS=$ac_libobjs3000LIBOBJS=$ac_libobjs
33723001
@@ -3411,45 +3040,17 @@
3411## M4sh Initialization. ##3040## M4sh Initialization. ##
3412## --------------------- ##3041## --------------------- ##
34133042
3414# Be more Bourne compatible3043# Be Bourne compatible
3415DUALCASE=1; export DUALCASE # for MKS sh
3416if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then3044if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3417 emulate sh3045 emulate sh
3418 NULLCMD=:3046 NULLCMD=:
3419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which3047 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3420 # is contrary to our usage. Disable this feature.3048 # is contrary to our usage. Disable this feature.
3421 alias -g '${1+"$@"}'='"$@"'3049 alias -g '${1+"$@"}'='"$@"'
3422 setopt NO_GLOB_SUBST3050elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3423else3051 set -o posix
3424 case `(set -o) 2>/dev/null` in3052fi
3425 *posix*) set -o posix ;;3053DUALCASE=1; export DUALCASE # for MKS sh
3426esac
3427
3428fi
3429
3430
3431
3432
3433# PATH needs CR
3434# Avoid depending upon Character Ranges.
3435as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3436as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3437as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3438as_cr_digits='0123456789'
3439as_cr_alnum=$as_cr_Letters$as_cr_digits
3440
3441# The user is always right.
3442if test "${PATH_SEPARATOR+set}" != set; then
3443 echo "#! /bin/sh" >conf$$.sh
3444 echo "exit 0" >>conf$$.sh
3445 chmod +x conf$$.sh
3446 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3447 PATH_SEPARATOR=';'
3448 else
3449 PATH_SEPARATOR=:
3450 fi
3451 rm -f conf$$.sh
3452fi
34533054
3454# Support unset when possible.3055# Support unset when possible.
3455if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then3056if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
@@ -3459,43 +3060,8 @@
3459fi3060fi
34603061
34613062
3462# IFS
3463# We need space, tab and new line, in precisely that order. Quoting is
3464# there to prevent editors from complaining about space-tab.
3465# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3466# splitting by setting IFS to empty value.)
3467as_nl='
3468'
3469IFS=" "" $as_nl"
3470
3471# Find who we are. Look in the path if we contain no directory separator.
3472case $0 in
3473 *[\\/]* ) as_myself=$0 ;;
3474 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475for as_dir in $PATH
3476do
3477 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=.
3479 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3480done
3481IFS=$as_save_IFS
3482
3483 ;;
3484esac
3485# We did not find ourselves, most probably we were run as `sh COMMAND'
3486# in which case we are not to be found in the path.
3487if test "x$as_myself" = x; then
3488 as_myself=$0
3489fi
3490if test ! -f "$as_myself"; then
3491 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3492 { (exit 1); exit 1; }
3493fi
3494
3495# Work around bugs in pre-3.0 UWIN ksh.3063# Work around bugs in pre-3.0 UWIN ksh.
3496for as_var in ENV MAIL MAILPATH3064$as_unset ENV MAIL MAILPATH
3497do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3498done
3499PS1='$ '3065PS1='$ '
3500PS2='> '3066PS2='> '
3501PS4='+ '3067PS4='+ '
@@ -3509,19 +3075,18 @@
3509 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then3075 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3510 eval $as_var=C; export $as_var3076 eval $as_var=C; export $as_var
3511 else3077 else
3512 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var3078 $as_unset $as_var
3513 fi3079 fi
3514done3080done
35153081
3516# Required to use basename.3082# Required to use basename.
3517if expr a : '\(a\)' >/dev/null 2>&1 &&3083if expr a : '\(a\)' >/dev/null 2>&1; then
3518 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3519 as_expr=expr3084 as_expr=expr
3520else3085else
3521 as_expr=false3086 as_expr=false
3522fi3087fi
35233088
3524if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then3089if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3525 as_basename=basename3090 as_basename=basename
3526else3091else
3527 as_basename=false3092 as_basename=false
@@ -3529,120 +3094,159 @@
35293094
35303095
3531# Name of the executable.3096# Name of the executable.
3532as_me=`$as_basename -- "$0" ||3097as_me=`$as_basename "$0" ||
3533$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \3098$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3534 X"$0" : 'X\(//\)$' \| \3099 X"$0" : 'X\(//\)$' \| \
3535 X"$0" : 'X\(/\)' \| . 2>/dev/null ||3100 X"$0" : 'X\(/\)$' \| \
3101 . : '\(.\)' 2>/dev/null ||
3536echo X/"$0" |3102echo X/"$0" |
3537 sed '/^.*\/\([^/][^/]*\)\/*$/{3103 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3538 s//\1/3104 /^X\/\(\/\/\)$/{ s//\1/; q; }
3539 q3105 /^X\/\(\/\).*/{ s//\1/; q; }
3540 }3106 s/.*/./; q'`
3541 /^X\/\(\/\/\)$/{3107
3542 s//\1/3108
3543 q3109# PATH needs CR, and LINENO needs CR and PATH.
3544 }3110# Avoid depending upon Character Ranges.
3545 /^X\/\(\/\).*/{3111as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3546 s//\1/3112as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3547 q3113as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3548 }3114as_cr_digits='0123456789'
3549 s/.*/./; q'`3115as_cr_alnum=$as_cr_Letters$as_cr_digits
35503116
3551# CDPATH.3117# The user is always right.
3552$as_unset CDPATH3118if test "${PATH_SEPARATOR+set}" != set; then
35533119 echo "#! /bin/sh" >conf$$.sh
35543120 echo "exit 0" >>conf$$.sh
35553121 chmod +x conf$$.sh
3556 as_lineno_1=$LINENO3122 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3557 as_lineno_2=$LINENO3123 PATH_SEPARATOR=';'
3558 test "x$as_lineno_1" != "x$as_lineno_2" &&3124 else
3559 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {3125 PATH_SEPARATOR=:
3126 fi
3127 rm -f conf$$.sh
3128fi
3129
3130
3131 as_lineno_1=$LINENO
3132 as_lineno_2=$LINENO
3133 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3134 test "x$as_lineno_1" != "x$as_lineno_2" &&
3135 test "x$as_lineno_3" = "x$as_lineno_2" || {
3136 # Find who we are. Look in the path if we contain no path at all
3137 # relative or not.
3138 case $0 in
3139 *[\\/]* ) as_myself=$0 ;;
3140 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141for as_dir in $PATH
3142do
3143 IFS=$as_save_IFS
3144 test -z "$as_dir" && as_dir=.
3145 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3146done
3147
3148 ;;
3149 esac
3150 # We did not find ourselves, most probably we were run as `sh COMMAND'
3151 # in which case we are not to be found in the path.
3152 if test "x$as_myself" = x; then
3153 as_myself=$0
3154 fi
3155 if test ! -f "$as_myself"; then
3156 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3157echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3158 { (exit 1); exit 1; }; }
3159 fi
3160 case $CONFIG_SHELL in
3161 '')
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3164do
3165 IFS=$as_save_IFS
3166 test -z "$as_dir" && as_dir=.
3167 for as_base in sh bash ksh sh5; do
3168 case $as_dir in
3169 /*)
3170 if ("$as_dir/$as_base" -c '
3171 as_lineno_1=$LINENO
3172 as_lineno_2=$LINENO
3173 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3174 test "x$as_lineno_1" != "x$as_lineno_2" &&
3175 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3176 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3177 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3178 CONFIG_SHELL=$as_dir/$as_base
3179 export CONFIG_SHELL
3180 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3181 fi;;
3182 esac
3183 done
3184done
3185;;
3186 esac
35603187
3561 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO3188 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3562 # uniformly replaced by the line number. The first 'sed' inserts a3189 # uniformly replaced by the line number. The first 'sed' inserts a
3563 # line-number line after each line using $LINENO; the second 'sed'3190 # line-number line before each line; the second 'sed' does the real
3564 # does the real work. The second script uses 'N' to pair each3191 # work. The second script uses 'N' to pair each line-number line
3565 # line-number line with the line containing $LINENO, and appends3192 # with the numbered line, and appends trailing '-' during
3566 # trailing '-' during substitution so that $LINENO is not a special3193 # substitution so that $LINENO is not a special case at line end.
3567 # case at line end.
3568 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the3194 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3569 # scripts with optimization help from Paolo Bonzini. Blame Lee3195 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3570 # E. McMahon (1931-1989) for sed's syntax. :-)3196 sed '=' <$as_myself |
3571 sed -n '
3572 p
3573 /[$]LINENO/=
3574 ' <$as_myself |
3575 sed '3197 sed '
3576 s/[$]LINENO.*/&-/
3577 t lineno
3578 b
3579 :lineno
3580 N3198 N
3581 :loop3199 s,$,-,
3582 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/3200 : loop
3201 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3583 t loop3202 t loop
3584 s/-\n.*//3203 s,-$,,
3204 s,^['$as_cr_digits']*\n,,
3585 ' >$as_me.lineno &&3205 ' >$as_me.lineno &&
3586 chmod +x "$as_me.lineno" ||3206 chmod +x $as_me.lineno ||
3587 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&23207 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3208echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3588 { (exit 1); exit 1; }; }3209 { (exit 1); exit 1; }; }
35893210
3590 # Don't try to exec as it changes $[0], causing all sort of problems3211 # Don't try to exec as it changes $[0], causing all sort of problems
3591 # (the dirname of $[0] is not the place where we might find the3212 # (the dirname of $[0] is not the place where we might find the
3592 # original and so on. Autoconf is especially sensitive to this).3213 # original and so on. Autoconf is especially sensible to this).
3593 . "./$as_me.lineno"3214 . ./$as_me.lineno
3594 # Exit status is that of the last command.3215 # Exit status is that of the last command.
3595 exit3216 exit
3596}3217}
35973218
35983219
3599if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then3220case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3600 as_dirname=dirname3221 *c*,-n*) ECHO_N= ECHO_C='
3601else3222' ECHO_T=' ' ;;
3602 as_dirname=false3223 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3603fi3224 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3604
3605ECHO_C= ECHO_N= ECHO_T=
3606case `echo -n x` in
3607-n*)
3608 case `echo 'x\c'` in
3609 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3610 *) ECHO_C='\c';;
3611 esac;;
3612*)
3613 ECHO_N='-n';;
3614esac3225esac
36153226
3616if expr a : '\(a\)' >/dev/null 2>&1 &&3227if expr a : '\(a\)' >/dev/null 2>&1; then
3617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3618 as_expr=expr3228 as_expr=expr
3619else3229else
3620 as_expr=false3230 as_expr=false
3621fi3231fi
36223232
3623rm -f conf$$ conf$$.exe conf$$.file3233rm -f conf$$ conf$$.exe conf$$.file
3624if test -d conf$$.dir; then
3625 rm -f conf$$.dir/conf$$.file
3626else
3627 rm -f conf$$.dir
3628 mkdir conf$$.dir
3629fi
3630echo >conf$$.file3234echo >conf$$.file
3631if ln -s conf$$.file conf$$ 2>/dev/null; then3235if ln -s conf$$.file conf$$ 2>/dev/null; then
3632 as_ln_s='ln -s'3236 # We could just check for DJGPP; but this test a) works b) is more generic
3633 # ... but there are two gotchas:3237 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3634 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.3238 if test -f conf$$.exe; then
3635 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.3239 # Don't use ln at all; we don't have any links
3636 # In both cases, we have to default to `cp -p'.
3637 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3638 as_ln_s='cp -p'3240 as_ln_s='cp -p'
3241 else
3242 as_ln_s='ln -s'
3243 fi
3639elif ln conf$$.file conf$$ 2>/dev/null; then3244elif ln conf$$.file conf$$ 2>/dev/null; then
3640 as_ln_s=ln3245 as_ln_s=ln
3641else3246else
3642 as_ln_s='cp -p'3247 as_ln_s='cp -p'
3643fi3248fi
3644rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file3249rm -f conf$$ conf$$.exe conf$$.file
3645rmdir conf$$.dir 2>/dev/null
36463250
3647if mkdir -p . 2>/dev/null; then3251if mkdir -p . 2>/dev/null; then
3648 as_mkdir_p=:3252 as_mkdir_p=:
@@ -3651,28 +3255,7 @@
3651 as_mkdir_p=false3255 as_mkdir_p=false
3652fi3256fi
36533257
3654if test -x / >/dev/null 2>&1; then3258as_executable_p="test -f"
3655 as_test_x='test -x'
3656else
3657 if ls -dL / >/dev/null 2>&1; then
3658 as_ls_L_option=L
3659 else
3660 as_ls_L_option=
3661 fi
3662 as_test_x='
3663 eval sh -c '\''
3664 if test -d "$1"; then
3665 test -d "$1/.";
3666 else
3667 case $1 in
3668 -*)set "./$1";;
3669 esac;
3670 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3671 ???[sx]*):;;*)false;;esac;fi
3672 '\'' sh
3673 '
3674fi
3675as_executable_p=$as_test_x
36763259
3677# Sed expression to map a string onto a valid CPP name.3260# Sed expression to map a string onto a valid CPP name.
3678as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"3261as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -3681,14 +3264,31 @@
3681as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"3264as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
36823265
36833266
3267# IFS
3268# We need space, tab and new line, in precisely that order.
3269as_nl='
3270'
3271IFS=" $as_nl"
3272
3273# CDPATH.
3274$as_unset CDPATH
3275
3684exec 6>&13276exec 6>&1
36853277
3686# Save the log message, to keep $[0] and so on meaningful, and to3278# Open the log real soon, to keep \$[0] and so on meaningful, and to
3687# report actual input values of CONFIG_FILES etc. instead of their3279# report actual input values of CONFIG_FILES etc. instead of their
3688# values after options handling.3280# values after options handling. Logging --version etc. is OK.
3689ac_log="3281exec 5>>config.log
3282{
3283 echo
3284 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3285## Running $as_me. ##
3286_ASBOX
3287} >&5
3288cat >&5 <<_CSEOF
3289
3690This file was extended by madfuload $as_me 1.2, which was3290This file was extended by madfuload $as_me 1.2, which was
3691generated by GNU Autoconf 2.61. Invocation command line was3291generated by GNU Autoconf 2.59. Invocation command line was
36923292
3693 CONFIG_FILES = $CONFIG_FILES3293 CONFIG_FILES = $CONFIG_FILES
3694 CONFIG_HEADERS = $CONFIG_HEADERS3294 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -3696,19 +3296,30 @@
3696 CONFIG_COMMANDS = $CONFIG_COMMANDS3296 CONFIG_COMMANDS = $CONFIG_COMMANDS
3697 $ $0 $@3297 $ $0 $@
36983298
3699on `(hostname || uname -n) 2>/dev/null | sed 1q`3299_CSEOF
3700"3300echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37013301echo >&5
3702_ACEOF3302_ACEOF
37033303
3704cat >>$CONFIG_STATUS <<_ACEOF
3705# Files that config.status was made for.3304# Files that config.status was made for.
3706config_files="$ac_config_files"3305if test -n "$ac_config_files"; then
3707config_commands="$ac_config_commands"3306 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37083307fi
3709_ACEOF3308
3309if test -n "$ac_config_headers"; then
3310 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3311fi
3312
3313if test -n "$ac_config_links"; then
3314 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3315fi
3316
3317if test -n "$ac_config_commands"; then
3318 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3319fi
37103320
3711cat >>$CONFIG_STATUS <<\_ACEOF3321cat >>$CONFIG_STATUS <<\_ACEOF
3322
3712ac_cs_usage="\3323ac_cs_usage="\
3713\`$as_me' instantiates files from templates according to the3324\`$as_me' instantiates files from templates according to the
3714current configuration.3325current configuration.
@@ -3716,7 +3327,7 @@
3716Usage: $0 [OPTIONS] [FILE]...3327Usage: $0 [OPTIONS] [FILE]...
37173328
3718 -h, --help print this help, then exit3329 -h, --help print this help, then exit
3719 -V, --version print version number and configuration settings, then exit3330 -V, --version print version number, then exit
3720 -q, --quiet do not print progress messages3331 -q, --quiet do not print progress messages
3721 -d, --debug don't remove temporary files3332 -d, --debug don't remove temporary files
3722 --recheck update $as_me by reconfiguring in the same conditions3333 --recheck update $as_me by reconfiguring in the same conditions
@@ -3730,21 +3341,19 @@
3730$config_commands3341$config_commands
37313342
3732Report bugs to <bug-autoconf@gnu.org>."3343Report bugs to <bug-autoconf@gnu.org>."
3344_ACEOF
37333345
3734_ACEOF
3735cat >>$CONFIG_STATUS <<_ACEOF3346cat >>$CONFIG_STATUS <<_ACEOF
3736ac_cs_version="\\3347ac_cs_version="\\
3737madfuload config.status 1.23348madfuload config.status 1.2
3738configured by $0, generated by GNU Autoconf 2.61,3349configured by $0, generated by GNU Autoconf 2.59,
3739 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"3350 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37403351
3741Copyright (C) 2006 Free Software Foundation, Inc.3352Copyright (C) 2003 Free Software Foundation, Inc.
3742This config.status script is free software; the Free Software Foundation3353This config.status script is free software; the Free Software Foundation
3743gives unlimited permission to copy, distribute and modify it."3354gives unlimited permission to copy, distribute and modify it."
37443355srcdir=$srcdir
3745ac_pwd='$ac_pwd'3356INSTALL="$INSTALL"
3746srcdir='$srcdir'
3747INSTALL='$INSTALL'
3748_ACEOF3357_ACEOF
37493358
3750cat >>$CONFIG_STATUS <<\_ACEOF3359cat >>$CONFIG_STATUS <<\_ACEOF
@@ -3755,42 +3364,60 @@
3755do3364do
3756 case $1 in3365 case $1 in
3757 --*=*)3366 --*=*)
3758 ac_option=`expr "X$1" : 'X\([^=]*\)='`3367 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3759 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`3368 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3760 ac_shift=:3369 ac_shift=:
3761 ;;3370 ;;
3762 *)3371 -*)
3763 ac_option=$13372 ac_option=$1
3764 ac_optarg=$23373 ac_optarg=$2
3765 ac_shift=shift3374 ac_shift=shift
3766 ;;3375 ;;
3376 *) # This is not an option, so the user has probably given explicit
3377 # arguments.
3378 ac_option=$1
3379 ac_need_defaults=false;;
3767 esac3380 esac
37683381
3769 case $ac_option in3382 case $ac_option in
3770 # Handling of the options.3383 # Handling of the options.
3384_ACEOF
3385cat >>$CONFIG_STATUS <<\_ACEOF
3771 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)3386 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3772 ac_cs_recheck=: ;;3387 ac_cs_recheck=: ;;
3773 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )3388 --version | --vers* | -V )
3774 echo "$ac_cs_version"; exit ;;3389 echo "$ac_cs_version"; exit 0 ;;
3775 --debug | --debu | --deb | --de | --d | -d )3390 --he | --h)
3391 # Conflict between --help and --header
3392 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3393Try \`$0 --help' for more information." >&5
3394echo "$as_me: error: ambiguous option: $1
3395Try \`$0 --help' for more information." >&2;}
3396 { (exit 1); exit 1; }; };;
3397 --help | --hel | -h )
3398 echo "$ac_cs_usage"; exit 0 ;;
3399 --debug | --d* | -d )
3776 debug=: ;;3400 debug=: ;;
3777 --file | --fil | --fi | --f )3401 --file | --fil | --fi | --f )
3778 $ac_shift3402 $ac_shift
3779 CONFIG_FILES="$CONFIG_FILES $ac_optarg"3403 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3780 ac_need_defaults=false;;3404 ac_need_defaults=false;;
3781 --he | --h | --help | --hel | -h )3405 --header | --heade | --head | --hea )
3782 echo "$ac_cs_usage"; exit ;;3406 $ac_shift
3407 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3408 ac_need_defaults=false;;
3783 -q | -quiet | --quiet | --quie | --qui | --qu | --q \3409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3784 | -silent | --silent | --silen | --sile | --sil | --si | --s)3410 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3785 ac_cs_silent=: ;;3411 ac_cs_silent=: ;;
37863412
3787 # This is an error.3413 # This is an error.
3788 -*) { echo "$as_me: error: unrecognized option: $13414 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3789Try \`$0 --help' for more information." >&23415Try \`$0 --help' for more information." >&5
3416echo "$as_me: error: unrecognized option: $1
3417Try \`$0 --help' for more information." >&2;}
3790 { (exit 1); exit 1; }; } ;;3418 { (exit 1); exit 1; }; } ;;
37913419
3792 *) ac_config_targets="$ac_config_targets $1"3420 *) ac_config_targets="$ac_config_targets $1" ;;
3793 ac_need_defaults=false ;;
37943421
3795 esac3422 esac
3796 shift3423 shift
@@ -3806,48 +3433,36 @@
3806_ACEOF3433_ACEOF
3807cat >>$CONFIG_STATUS <<_ACEOF3434cat >>$CONFIG_STATUS <<_ACEOF
3808if \$ac_cs_recheck; then3435if \$ac_cs_recheck; then
3809 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&63436 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3810 CONFIG_SHELL=$SHELL3437 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3811 export CONFIG_SHELL
3812 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3813fi3438fi
38143439
3815_ACEOF3440_ACEOF
3816cat >>$CONFIG_STATUS <<\_ACEOF
3817exec 5>>config.log
3818{
3819 echo
3820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3821## Running $as_me. ##
3822_ASBOX
3823 echo "$ac_log"
3824} >&5
38253441
3826_ACEOF
3827cat >>$CONFIG_STATUS <<_ACEOF3442cat >>$CONFIG_STATUS <<_ACEOF
3828#3443#
3829# INIT-COMMANDS3444# INIT-COMMANDS section.
3830#3445#
3446
3831AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"3447AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
38323448
3833_ACEOF3449_ACEOF
38343450
3451
3452
3835cat >>$CONFIG_STATUS <<\_ACEOF3453cat >>$CONFIG_STATUS <<\_ACEOF
3836
3837# Handling of arguments.
3838for ac_config_target in $ac_config_targets3454for ac_config_target in $ac_config_targets
3839do3455do
3840 case $ac_config_target in3456 case "$ac_config_target" in
3841 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;3457 # Handling of arguments.
3842 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;3458 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
38433459 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3844 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&53460 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3845echo "$as_me: error: invalid argument: $ac_config_target" >&2;}3461echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3846 { (exit 1); exit 1; }; };;3462 { (exit 1); exit 1; }; };;
3847 esac3463 esac
3848done3464done
38493465
3850
3851# If the user did not use the arguments to specify the items to instantiate,3466# If the user did not use the arguments to specify the items to instantiate,
3852# then the envvar interface is used. Set only those that are not.3467# then the envvar interface is used. Set only those that are not.
3853# We use the long form for the default assignment because of an extremely3468# We use the long form for the default assignment because of an extremely
@@ -3858,388 +3473,323 @@
3858fi3473fi
38593474
3860# Have a temporary directory for convenience. Make it in the build tree3475# Have a temporary directory for convenience. Make it in the build tree
3861# simply because there is no reason against having it here, and in addition,3476# simply because there is no reason to put it here, and in addition,
3862# creating and moving files from /tmp can sometimes cause problems.3477# creating and moving files from /tmp can sometimes cause problems.
3863# Hook for its removal unless debugging.3478# Create a temporary directory, and hook for its removal unless debugging.
3864# Note that there is a small window in which the directory will not be cleaned:
3865# after its creation but before its name has been assigned to `$tmp'.
3866$debug ||3479$debug ||
3867{3480{
3868 tmp=3481 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3869 trap 'exit_status=$?
3870 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3871' 0
3872 trap '{ (exit 1); exit 1; }' 1 2 13 153482 trap '{ (exit 1); exit 1; }' 1 2 13 15
3873}3483}
3484
3874# Create a (secure) tmp directory for tmp files.3485# Create a (secure) tmp directory for tmp files.
38753486
3876{3487{
3877 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&3488 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3878 test -n "$tmp" && test -d "$tmp"3489 test -n "$tmp" && test -d "$tmp"
3879} ||3490} ||
3880{3491{
3881 tmp=./conf$$-$RANDOM3492 tmp=./confstat$$-$RANDOM
3882 (umask 077 && mkdir "$tmp")3493 (umask 077 && mkdir $tmp)
3883} ||3494} ||
3884{3495{
3885 echo "$me: cannot create a temporary directory in ." >&23496 echo "$me: cannot create a temporary directory in ." >&2
3886 { (exit 1); exit 1; }3497 { (exit 1); exit 1; }
3887}3498}
38883499
3500_ACEOF
3501
3502cat >>$CONFIG_STATUS <<_ACEOF
3503
3889#3504#
3890# Set up the sed scripts for CONFIG_FILES section.3505# CONFIG_FILES section.
3891#3506#
38923507
3893# No need to generate the scripts if there are no CONFIG_FILES.3508# No need to generate the scripts if there are no CONFIG_FILES.
3894# This happens for instance when ./config.status config.h3509# This happens for instance when ./config.status config.h
3895if test -n "$CONFIG_FILES"; then3510if test -n "\$CONFIG_FILES"; then
38963511 # Protect against being on the right side of a sed subst in config.status.
3897_ACEOF3512 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
38983513 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
38993514s,@SHELL@,$SHELL,;t t
39003515s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3901ac_delim='%!_!# '3516s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3902for ac_last_try in false false false false false :; do3517s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3903 cat >conf$$subs.sed <<_ACEOF3518s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3904SHELL!$SHELL$ac_delim3519s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3905PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim3520s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3906PACKAGE_NAME!$PACKAGE_NAME$ac_delim3521s,@exec_prefix@,$exec_prefix,;t t
3907PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim3522s,@prefix@,$prefix,;t t
3908PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim3523s,@program_transform_name@,$program_transform_name,;t t
3909PACKAGE_STRING!$PACKAGE_STRING$ac_delim3524s,@bindir@,$bindir,;t t
3910PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim3525s,@sbindir@,$sbindir,;t t
3911exec_prefix!$exec_prefix$ac_delim3526s,@libexecdir@,$libexecdir,;t t
3912prefix!$prefix$ac_delim3527s,@datadir@,$datadir,;t t
3913program_transform_name!$program_transform_name$ac_delim3528s,@sysconfdir@,$sysconfdir,;t t
3914bindir!$bindir$ac_delim3529s,@sharedstatedir@,$sharedstatedir,;t t
3915sbindir!$sbindir$ac_delim3530s,@localstatedir@,$localstatedir,;t t
3916libexecdir!$libexecdir$ac_delim3531s,@libdir@,$libdir,;t t
3917datarootdir!$datarootdir$ac_delim3532s,@includedir@,$includedir,;t t
3918datadir!$datadir$ac_delim3533s,@oldincludedir@,$oldincludedir,;t t
3919sysconfdir!$sysconfdir$ac_delim3534s,@infodir@,$infodir,;t t
3920sharedstatedir!$sharedstatedir$ac_delim3535s,@mandir@,$mandir,;t t
3921localstatedir!$localstatedir$ac_delim3536s,@build_alias@,$build_alias,;t t
3922includedir!$includedir$ac_delim3537s,@host_alias@,$host_alias,;t t
3923oldincludedir!$oldincludedir$ac_delim3538s,@target_alias@,$target_alias,;t t
3924docdir!$docdir$ac_delim3539s,@DEFS@,$DEFS,;t t
3925infodir!$infodir$ac_delim3540s,@ECHO_C@,$ECHO_C,;t t
3926htmldir!$htmldir$ac_delim3541s,@ECHO_N@,$ECHO_N,;t t
3927dvidir!$dvidir$ac_delim3542s,@ECHO_T@,$ECHO_T,;t t
3928pdfdir!$pdfdir$ac_delim3543s,@LIBS@,$LIBS,;t t
3929psdir!$psdir$ac_delim3544s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3930libdir!$libdir$ac_delim3545s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3931localedir!$localedir$ac_delim3546s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3932mandir!$mandir$ac_delim3547s,@CYGPATH_W@,$CYGPATH_W,;t t
3933DEFS!$DEFS$ac_delim3548s,@PACKAGE@,$PACKAGE,;t t
3934ECHO_C!$ECHO_C$ac_delim3549s,@VERSION@,$VERSION,;t t
3935ECHO_N!$ECHO_N$ac_delim3550s,@ACLOCAL@,$ACLOCAL,;t t
3936ECHO_T!$ECHO_T$ac_delim3551s,@AUTOCONF@,$AUTOCONF,;t t
3937LIBS!$LIBS$ac_delim3552s,@AUTOMAKE@,$AUTOMAKE,;t t
3938build_alias!$build_alias$ac_delim3553s,@AUTOHEADER@,$AUTOHEADER,;t t
3939host_alias!$host_alias$ac_delim3554s,@MAKEINFO@,$MAKEINFO,;t t
3940target_alias!$target_alias$ac_delim3555s,@AMTAR@,$AMTAR,;t t
3941INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim3556s,@install_sh@,$install_sh,;t t
3942INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim3557s,@STRIP@,$STRIP,;t t
3943INSTALL_DATA!$INSTALL_DATA$ac_delim3558s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3944CYGPATH_W!$CYGPATH_W$ac_delim3559s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3945PACKAGE!$PACKAGE$ac_delim3560s,@mkdir_p@,$mkdir_p,;t t
3946VERSION!$VERSION$ac_delim3561s,@AWK@,$AWK,;t t
3947ACLOCAL!$ACLOCAL$ac_delim3562s,@SET_MAKE@,$SET_MAKE,;t t
3948AUTOCONF!$AUTOCONF$ac_delim3563s,@am__leading_dot@,$am__leading_dot,;t t
3949AUTOMAKE!$AUTOMAKE$ac_delim3564s,@CC@,$CC,;t t
3950AUTOHEADER!$AUTOHEADER$ac_delim3565s,@CFLAGS@,$CFLAGS,;t t
3951MAKEINFO!$MAKEINFO$ac_delim3566s,@LDFLAGS@,$LDFLAGS,;t t
3952AMTAR!$AMTAR$ac_delim3567s,@CPPFLAGS@,$CPPFLAGS,;t t
3953install_sh!$install_sh$ac_delim3568s,@ac_ct_CC@,$ac_ct_CC,;t t
3954STRIP!$STRIP$ac_delim3569s,@EXEEXT@,$EXEEXT,;t t
3955INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim3570s,@OBJEXT@,$OBJEXT,;t t
3956mkdir_p!$mkdir_p$ac_delim3571s,@DEPDIR@,$DEPDIR,;t t
3957AWK!$AWK$ac_delim3572s,@am__include@,$am__include,;t t
3958SET_MAKE!$SET_MAKE$ac_delim3573s,@am__quote@,$am__quote,;t t
3959am__leading_dot!$am__leading_dot$ac_delim3574s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3960CC!$CC$ac_delim3575s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3961CFLAGS!$CFLAGS$ac_delim3576s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3962LDFLAGS!$LDFLAGS$ac_delim3577s,@CCDEPMODE@,$CCDEPMODE,;t t
3963CPPFLAGS!$CPPFLAGS$ac_delim3578s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3964ac_ct_CC!$ac_ct_CC$ac_delim3579s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3965EXEEXT!$EXEEXT$ac_delim3580s,@UDEV_RULES_DIR@,$UDEV_RULES_DIR,;t t
3966OBJEXT!$OBJEXT$ac_delim3581s,@LIBOBJS@,$LIBOBJS,;t t
3967DEPDIR!$DEPDIR$ac_delim3582s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3968am__include!$am__include$ac_delim3583CEOF
3969am__quote!$am__quote$ac_delim3584
3970AMDEP_TRUE!$AMDEP_TRUE$ac_delim3585_ACEOF
3971AMDEP_FALSE!$AMDEP_FALSE$ac_delim3586
3972AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim3587 cat >>$CONFIG_STATUS <<\_ACEOF
3973CCDEPMODE!$CCDEPMODE$ac_delim3588 # Split the substitutions into bite-sized pieces for seds with
3974am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim3589 # small command number limits, like on Digital OSF/1 and HP-UX.
3975am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim3590 ac_max_sed_lines=48
3976LIBOBJS!$LIBOBJS$ac_delim3591 ac_sed_frag=1 # Number of current file.
3977LTLIBOBJS!$LTLIBOBJS$ac_delim3592 ac_beg=1 # First line for current file.
3978_ACEOF3593 ac_end=$ac_max_sed_lines # Line after last line for current file.
39793594 ac_more_lines=:
3980 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then3595 ac_sed_cmds=
3981 break3596 while $ac_more_lines; do
3982 elif $ac_last_try; then3597 if test $ac_beg -gt 1; then
3983 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&53598 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3984echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}3599 else
3985 { (exit 1); exit 1; }; }3600 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3986 else3601 fi
3987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "3602 if test ! -s $tmp/subs.frag; then
3603 ac_more_lines=false
3604 else
3605 # The purpose of the label and of the branching condition is to
3606 # speed up the sed processing (if there are no `@' at all, there
3607 # is no need to browse any of the substitutions).
3608 # These are the two extra sed commands mentioned above.
3609 (echo ':t
3610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3611 if test -z "$ac_sed_cmds"; then
3612 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3613 else
3614 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3615 fi
3616 ac_sed_frag=`expr $ac_sed_frag + 1`
3617 ac_beg=$ac_end
3618 ac_end=`expr $ac_end + $ac_max_sed_lines`
3619 fi
3620 done
3621 if test -z "$ac_sed_cmds"; then
3622 ac_sed_cmds=cat
3988 fi3623 fi
3989done
3990
3991ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3992if test -n "$ac_eof"; then
3993 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3994 ac_eof=`expr $ac_eof + 1`
3995fi
3996
3997cat >>$CONFIG_STATUS <<_ACEOF
3998cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3999/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4000_ACEOF
4001sed '
4002s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4003s/^/s,@/; s/!/@,|#_!!_#|/
4004:n
4005t n
4006s/'"$ac_delim"'$/,g/; t
4007s/$/\\/; p
4008N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4009' >>$CONFIG_STATUS <conf$$subs.sed
4010rm -f conf$$subs.sed
4011cat >>$CONFIG_STATUS <<_ACEOF
4012:end
4013s/|#_!!_#|//g
4014CEOF$ac_eof
4015_ACEOF
4016
4017
4018# VPATH may cause trouble with some makes, so we remove $(srcdir),
4019# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4020# trailing colons and then remove the whole line if VPATH becomes empty
4021# (actually we leave an empty line to preserve line numbers).
4022if test "x$srcdir" = x.; then
4023 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4024s/:*\$(srcdir):*/:/
4025s/:*\${srcdir}:*/:/
4026s/:*@srcdir@:*/:/
4027s/^\([^=]*=[ ]*\):*/\1/
4028s/:*$//
4029s/^[^=]*=[ ]*$//
4030}'
4031fi
4032
4033cat >>$CONFIG_STATUS <<\_ACEOF
4034fi # test -n "$CONFIG_FILES"3624fi # test -n "$CONFIG_FILES"
40353625
40363626_ACEOF
4037for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS3627cat >>$CONFIG_STATUS <<\_ACEOF
4038do3628for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4039 case $ac_tag in3629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4040 :[FHLC]) ac_mode=$ac_tag; continue;;3630 case $ac_file in
4041 esac3631 - | *:- | *:-:* ) # input from stdin
4042 case $ac_mode$ac_tag in3632 cat >$tmp/stdin
4043 :[FHL]*:*);;3633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4044 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&53634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4045echo "$as_me: error: Invalid tag $ac_tag." >&2;}3635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4046 { (exit 1); exit 1; }; };;3636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4047 :[FH]-) ac_tag=-:-;;3637 * ) ac_file_in=$ac_file.in ;;
4048 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;3638 esac
4049 esac3639
4050 ac_save_IFS=$IFS3640 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4051 IFS=:3641 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4052 set x $ac_tag
4053 IFS=$ac_save_IFS
4054 shift
4055 ac_file=$1
4056 shift
4057
4058 case $ac_mode in
4059 :L) ac_source=$1;;
4060 :[FH])
4061 ac_file_inputs=
4062 for ac_f
4063 do
4064 case $ac_f in
4065 -) ac_f="$tmp/stdin";;
4066 *) # Look for the file first in the build tree, then in the source tree
4067 # (if the path is not absolute). The absolute path cannot be DOS-style,
4068 # because $ac_f cannot contain `:'.
4069 test -f "$ac_f" ||
4070 case $ac_f in
4071 [\\/$]*) false;;
4072 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4073 esac ||
4074 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4075echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4076 { (exit 1); exit 1; }; };;
4077 esac
4078 ac_file_inputs="$ac_file_inputs $ac_f"
4079 done
4080
4081 # Let's still pretend it is `configure' which instantiates (i.e., don't
4082 # use $as_me), people would be surprised to read:
4083 # /* config.h. Generated by config.status. */
4084 configure_input="Generated from "`IFS=:
4085 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4086 if test x"$ac_file" != x-; then
4087 configure_input="$ac_file. $configure_input"
4088 { echo "$as_me:$LINENO: creating $ac_file" >&5
4089echo "$as_me: creating $ac_file" >&6;}
4090 fi
4091
4092 case $ac_tag in
4093 *:-:* | *:-) cat >"$tmp/stdin";;
4094 esac
4095 ;;
4096 esac
4097
4098 ac_dir=`$as_dirname -- "$ac_file" ||
4099$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \3642$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4100 X"$ac_file" : 'X\(//\)[^/]' \| \3643 X"$ac_file" : 'X\(//\)[^/]' \| \
4101 X"$ac_file" : 'X\(//\)$' \| \3644 X"$ac_file" : 'X\(//\)$' \| \
4102 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||3645 X"$ac_file" : 'X\(/\)' \| \
3646 . : '\(.\)' 2>/dev/null ||
4103echo X"$ac_file" |3647echo X"$ac_file" |
4104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{3648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4105 s//\1/3649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4106 q3650 /^X\(\/\/\)$/{ s//\1/; q; }
4107 }3651 /^X\(\/\).*/{ s//\1/; q; }
4108 /^X\(\/\/\)[^/].*/{3652 s/.*/./; q'`
4109 s//\1/3653 { if $as_mkdir_p; then
4110 q3654 mkdir -p "$ac_dir"
4111 }3655 else
4112 /^X\(\/\/\)$/{3656 as_dir="$ac_dir"
4113 s//\1/
4114 q
4115 }
4116 /^X\(\/\).*/{
4117 s//\1/
4118 q
4119 }
4120 s/.*/./; q'`
4121 { as_dir="$ac_dir"
4122 case $as_dir in #(
4123 -*) as_dir=./$as_dir;;
4124 esac
4125 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4126 as_dirs=3657 as_dirs=
4127 while :; do3658 while test ! -d "$as_dir"; do
4128 case $as_dir in #(3659 as_dirs="$as_dir $as_dirs"
4129 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(3660 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4130 *) as_qdir=$as_dir;;
4131 esac
4132 as_dirs="'$as_qdir' $as_dirs"
4133 as_dir=`$as_dirname -- "$as_dir" ||
4134$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \3661$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4135 X"$as_dir" : 'X\(//\)[^/]' \| \3662 X"$as_dir" : 'X\(//\)[^/]' \| \
4136 X"$as_dir" : 'X\(//\)$' \| \3663 X"$as_dir" : 'X\(//\)$' \| \
4137 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||3664 X"$as_dir" : 'X\(/\)' \| \
3665 . : '\(.\)' 2>/dev/null ||
4138echo X"$as_dir" |3666echo X"$as_dir" |
4139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{3667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4140 s//\1/3668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4141 q3669 /^X\(\/\/\)$/{ s//\1/; q; }
4142 }3670 /^X\(\/\).*/{ s//\1/; q; }
4143 /^X\(\/\/\)[^/].*/{3671 s/.*/./; q'`
4144 s//\1/
4145 q
4146 }
4147 /^X\(\/\/\)$/{
4148 s//\1/
4149 q
4150 }
4151 /^X\(\/\).*/{
4152 s//\1/
4153 q
4154 }
4155 s/.*/./; q'`
4156 test -d "$as_dir" && break
4157 done3672 done
4158 test -z "$as_dirs" || eval "mkdir $as_dirs"3673 test ! -n "$as_dirs" || mkdir $as_dirs
4159 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&53674 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4160echo "$as_me: error: cannot create directory $as_dir" >&2;}3675echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4161 { (exit 1); exit 1; }; }; }3676 { (exit 1); exit 1; }; }; }
3677
4162 ac_builddir=.3678 ac_builddir=.
41633679
4164case "$ac_dir" in3680if test "$ac_dir" != .; then
4165.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4166*)
4167 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`3681 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4168 # A ".." for each directory in $ac_dir_suffix.3682 # A "../" for each directory in $ac_dir_suffix.
4169 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`3683 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4170 case $ac_top_builddir_sub in3684else
4171 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;3685 ac_dir_suffix= ac_top_builddir=
4172 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;3686fi
4173 esac ;;
4174esac
4175ac_abs_top_builddir=$ac_pwd
4176ac_abs_builddir=$ac_pwd$ac_dir_suffix
4177# for backward compatibility:
4178ac_top_builddir=$ac_top_build_prefix
41793687
4180case $srcdir in3688case $srcdir in
4181 .) # We are building in place.3689 .) # No --srcdir option. We are building in place.
4182 ac_srcdir=.3690 ac_srcdir=.
4183 ac_top_srcdir=$ac_top_builddir_sub3691 if test -z "$ac_top_builddir"; then
4184 ac_abs_top_srcdir=$ac_pwd ;;3692 ac_top_srcdir=.
4185 [\\/]* | ?:[\\/]* ) # Absolute name.3693 else
3694 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3695 fi ;;
3696 [\\/]* | ?:[\\/]* ) # Absolute path.
4186 ac_srcdir=$srcdir$ac_dir_suffix;3697 ac_srcdir=$srcdir$ac_dir_suffix;
4187 ac_top_srcdir=$srcdir3698 ac_top_srcdir=$srcdir ;;
4188 ac_abs_top_srcdir=$srcdir ;;3699 *) # Relative path.
4189 *) # Relative name.3700 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4190 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix3701 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4191 ac_top_srcdir=$ac_top_build_prefix$srcdir3702esac
4192 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;3703
4193esac3704# Do not use `cd foo && pwd` to compute absolute paths, because
4194ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix3705# the directories may not exist.
41953706case `pwd` in
41963707.) ac_abs_builddir="$ac_dir";;
4197 case $ac_mode in3708*)
4198 :F)3709 case "$ac_dir" in
4199 #3710 .) ac_abs_builddir=`pwd`;;
4200 # CONFIG_FILE3711 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4201 #3712 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3713 esac;;
3714esac
3715case $ac_abs_builddir in
3716.) ac_abs_top_builddir=${ac_top_builddir}.;;
3717*)
3718 case ${ac_top_builddir}. in
3719 .) ac_abs_top_builddir=$ac_abs_builddir;;
3720 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3721 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3722 esac;;
3723esac
3724case $ac_abs_builddir in
3725.) ac_abs_srcdir=$ac_srcdir;;
3726*)
3727 case $ac_srcdir in
3728 .) ac_abs_srcdir=$ac_abs_builddir;;
3729 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3730 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3731 esac;;
3732esac
3733case $ac_abs_builddir in
3734.) ac_abs_top_srcdir=$ac_top_srcdir;;
3735*)
3736 case $ac_top_srcdir in
3737 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3738 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3739 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3740 esac;;
3741esac
3742
42023743
4203 case $INSTALL in3744 case $INSTALL in
4204 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;3745 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4205 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;3746 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4206 esac3747 esac
4207_ACEOF3748
42083749 if test x"$ac_file" != x-; then
4209cat >>$CONFIG_STATUS <<\_ACEOF3750 { echo "$as_me:$LINENO: creating $ac_file" >&5
4210# If the template does not know about datarootdir, expand it.3751echo "$as_me: creating $ac_file" >&6;}
4211# FIXME: This hack should be removed a few years after 2.60.3752 rm -f "$ac_file"
4212ac_datarootdir_hack=; ac_datarootdir_seen=3753 fi
42133754 # Let's still pretend it is `configure' which instantiates (i.e., don't
4214case `sed -n '/datarootdir/ {3755 # use $as_me), people would be surprised to read:
4215 p3756 # /* config.h. Generated by config.status. */
4216 q3757 if test x"$ac_file" = x-; then
4217}3758 configure_input=
4218/@datadir@/p3759 else
4219/@docdir@/p3760 configure_input="$ac_file. "
4220/@infodir@/p3761 fi
4221/@localedir@/p3762 configure_input=$configure_input"Generated from `echo $ac_file_in |
4222/@mandir@/p3763 sed 's,.*/,,'` by configure."
4223' $ac_file_inputs` in3764
4224*datarootdir*) ac_datarootdir_seen=yes;;3765 # First look for the input files in the build tree, otherwise in the
4225*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)3766 # src tree.
4226 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&53767 ac_file_inputs=`IFS=:
4227echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}3768 for f in $ac_file_in; do
4228_ACEOF3769 case $f in
4229cat >>$CONFIG_STATUS <<_ACEOF3770 -) echo $tmp/stdin ;;
4230 ac_datarootdir_hack='3771 [\\/$]*)
4231 s&@datadir@&$datadir&g3772 # Absolute (can't be DOS-style, as IFS=:)
4232 s&@docdir@&$docdir&g3773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4233 s&@infodir@&$infodir&g3774echo "$as_me: error: cannot find input file: $f" >&2;}
4234 s&@localedir@&$localedir&g3775 { (exit 1); exit 1; }; }
4235 s&@mandir@&$mandir&g3776 echo "$f";;
4236 s&\\\${datarootdir}&$datarootdir&g' ;;3777 *) # Relative
4237esac3778 if test -f "$f"; then
4238_ACEOF3779 # Build tree
42393780 echo "$f"
4240# Neutralize VPATH when `$srcdir' = `.'.3781 elif test -f "$srcdir/$f"; then
4241# Shell code in configure.ac might set extrasub.3782 # Source tree
4242# FIXME: do we really want to maintain this feature?3783 echo "$srcdir/$f"
3784 else
3785 # /dev/null tree
3786 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3787echo "$as_me: error: cannot find input file: $f" >&2;}
3788 { (exit 1); exit 1; }; }
3789 fi;;
3790 esac
3791 done` || { (exit 1); exit 1; }
3792_ACEOF
4243cat >>$CONFIG_STATUS <<_ACEOF3793cat >>$CONFIG_STATUS <<_ACEOF
4244 sed "$ac_vpsub3794 sed "$ac_vpsub
4245$extrasub3795$extrasub
@@ -4247,43 +3797,142 @@
4247cat >>$CONFIG_STATUS <<\_ACEOF3797cat >>$CONFIG_STATUS <<\_ACEOF
4248:t3798:t
4249/@[a-zA-Z_][a-zA-Z_0-9]*@/!b3799/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4250s&@configure_input@&$configure_input&;t t3800s,@configure_input@,$configure_input,;t t
4251s&@top_builddir@&$ac_top_builddir_sub&;t t3801s,@srcdir@,$ac_srcdir,;t t
4252s&@srcdir@&$ac_srcdir&;t t3802s,@abs_srcdir@,$ac_abs_srcdir,;t t
4253s&@abs_srcdir@&$ac_abs_srcdir&;t t3803s,@top_srcdir@,$ac_top_srcdir,;t t
4254s&@top_srcdir@&$ac_top_srcdir&;t t3804s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4255s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t3805s,@builddir@,$ac_builddir,;t t
4256s&@builddir@&$ac_builddir&;t t3806s,@abs_builddir@,$ac_abs_builddir,;t t
4257s&@abs_builddir@&$ac_abs_builddir&;t t3807s,@top_builddir@,$ac_top_builddir,;t t
4258s&@abs_top_builddir@&$ac_abs_top_builddir&;t t3808s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4259s&@INSTALL@&$ac_INSTALL&;t t3809s,@INSTALL@,$ac_INSTALL,;t t
4260$ac_datarootdir_hack3810" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4261" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out3811 rm -f $tmp/stdin
42623812 if test x"$ac_file" != x-; then
4263test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&3813 mv $tmp/out $ac_file
4264 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&3814 else
4265 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&3815 cat $tmp/out
4266 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'3816 rm -f $tmp/out
4267which seems to be undefined. Please make sure it is defined." >&53817 fi
4268echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'3818
4269which seems to be undefined. Please make sure it is defined." >&2;}3819done
42703820_ACEOF
4271 rm -f "$tmp/stdin"3821cat >>$CONFIG_STATUS <<\_ACEOF
4272 case $ac_file in3822
4273 -) cat "$tmp/out"; rm -f "$tmp/out";;3823#
4274 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;3824# CONFIG_COMMANDS section.
4275 esac3825#
4276 ;;3826for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42773827 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42783828 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4279 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&53829 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4280echo "$as_me: executing $ac_file commands" >&6;}3830$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4281 ;;3831 X"$ac_dest" : 'X\(//\)[^/]' \| \
4282 esac3832 X"$ac_dest" : 'X\(//\)$' \| \
42833833 X"$ac_dest" : 'X\(/\)' \| \
42843834 . : '\(.\)' 2>/dev/null ||
4285 case $ac_file$ac_mode in3835echo X"$ac_dest" |
4286 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do3836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3838 /^X\(\/\/\)$/{ s//\1/; q; }
3839 /^X\(\/\).*/{ s//\1/; q; }
3840 s/.*/./; q'`
3841 { if $as_mkdir_p; then
3842 mkdir -p "$ac_dir"
3843 else
3844 as_dir="$ac_dir"
3845 as_dirs=
3846 while test ! -d "$as_dir"; do
3847 as_dirs="$as_dir $as_dirs"
3848 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3849$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3850 X"$as_dir" : 'X\(//\)[^/]' \| \
3851 X"$as_dir" : 'X\(//\)$' \| \
3852 X"$as_dir" : 'X\(/\)' \| \
3853 . : '\(.\)' 2>/dev/null ||
3854echo X"$as_dir" |
3855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3856 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3857 /^X\(\/\/\)$/{ s//\1/; q; }
3858 /^X\(\/\).*/{ s//\1/; q; }
3859 s/.*/./; q'`
3860 done
3861 test ! -n "$as_dirs" || mkdir $as_dirs
3862 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3863echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3864 { (exit 1); exit 1; }; }; }
3865
3866 ac_builddir=.
3867
3868if test "$ac_dir" != .; then
3869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3870 # A "../" for each directory in $ac_dir_suffix.
3871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3872else
3873 ac_dir_suffix= ac_top_builddir=
3874fi
3875
3876case $srcdir in
3877 .) # No --srcdir option. We are building in place.
3878 ac_srcdir=.
3879 if test -z "$ac_top_builddir"; then
3880 ac_top_srcdir=.
3881 else
3882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3883 fi ;;
3884 [\\/]* | ?:[\\/]* ) # Absolute path.
3885 ac_srcdir=$srcdir$ac_dir_suffix;
3886 ac_top_srcdir=$srcdir ;;
3887 *) # Relative path.
3888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3889 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3890esac
3891
3892# Do not use `cd foo && pwd` to compute absolute paths, because
3893# the directories may not exist.
3894case `pwd` in
3895.) ac_abs_builddir="$ac_dir";;
3896*)
3897 case "$ac_dir" in
3898 .) ac_abs_builddir=`pwd`;;
3899 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3900 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3901 esac;;
3902esac
3903case $ac_abs_builddir in
3904.) ac_abs_top_builddir=${ac_top_builddir}.;;
3905*)
3906 case ${ac_top_builddir}. in
3907 .) ac_abs_top_builddir=$ac_abs_builddir;;
3908 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3909 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3910 esac;;
3911esac
3912case $ac_abs_builddir in
3913.) ac_abs_srcdir=$ac_srcdir;;
3914*)
3915 case $ac_srcdir in
3916 .) ac_abs_srcdir=$ac_abs_builddir;;
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: