~ubuntu-branches/ubuntu/precise/hal-info/precise

1 by Martin Pitt
Import upstream version 20070402
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1.1.11 by Martin Pitt
Import upstream version 20081013
3
# Generated by GNU Autoconf 2.61 for hal-info 20081013.
1 by Martin Pitt
Import upstream version 20070402
4
#
1.1.1 by Martin Pitt
Import upstream version 20070516
5
# Report bugs to <hal@lists.freedesktop.org>.
1 by Martin Pitt
Import upstream version 20070402
6
#
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization.  ##
13
## --------------------- ##
14
1.1.5 by Martin Pitt
Import upstream version 20080215
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
1 by Martin Pitt
Import upstream version 20070402
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
  emulate sh
19
  NULLCMD=:
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
1.1.5 by Martin Pitt
Import upstream version 20080215
25
  case `(set -o) 2>/dev/null` in
26
  *posix*) set -o posix ;;
27
esac
28
1 by Martin Pitt
Import upstream version 20070402
29
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
30
31
1 by Martin Pitt
Import upstream version 20070402
32
33
34
# PATH needs CR
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
  echo "#! /bin/sh" >conf$$.sh
45
  echo  "exit 0"   >>conf$$.sh
46
  chmod +x conf$$.sh
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
    PATH_SEPARATOR=';'
49
  else
50
    PATH_SEPARATOR=:
51
  fi
52
  rm -f conf$$.sh
53
fi
54
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
  as_unset=unset
58
else
59
  as_unset=false
60
fi
61
62
63
# IFS
64
# We need space, tab and new line, in precisely that order.  Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
68
as_nl='
69
'
70
IFS=" ""	$as_nl"
71
72
# Find who we are.  Look in the path if we contain no directory separator.
73
case $0 in
74
  *[\\/]* ) as_myself=$0 ;;
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
for as_dir in $PATH
77
do
78
  IFS=$as_save_IFS
79
  test -z "$as_dir" && as_dir=.
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
done
82
IFS=$as_save_IFS
83
84
     ;;
85
esac
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
89
  as_myself=$0
90
fi
91
if test ! -f "$as_myself"; then
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
  { (exit 1); exit 1; }
94
fi
95
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99
done
100
PS1='$ '
101
PS2='> '
102
PS4='+ '
103
104
# NLS nuisances.
105
for as_var in \
106
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
  LC_TELEPHONE LC_TIME
109
do
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
    eval $as_var=C; export $as_var
112
  else
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
  fi
115
done
116
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
  as_expr=expr
121
else
122
  as_expr=false
123
fi
124
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
  as_basename=basename
127
else
128
  as_basename=false
129
fi
130
131
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
	 X"$0" : 'X\(//\)$' \| \
136
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
echo X/"$0" |
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
	    s//\1/
140
	    q
141
	  }
142
	  /^X\/\(\/\/\)$/{
143
	    s//\1/
144
	    q
145
	  }
146
	  /^X\/\(\/\).*/{
147
	    s//\1/
148
	    q
149
	  }
150
	  s/.*/./; q'`
151
152
# CDPATH.
153
$as_unset CDPATH
154
155
156
if test "x$CONFIG_SHELL" = x; then
157
  if (eval ":") 2>/dev/null; then
158
  as_have_required=yes
159
else
160
  as_have_required=no
161
fi
162
163
  if test $as_have_required = yes && 	 (eval ":
164
(as_func_return () {
165
  (exit \$1)
166
}
167
as_func_success () {
168
  as_func_return 0
169
}
170
as_func_failure () {
171
  as_func_return 1
172
}
173
as_func_ret_success () {
174
  return 0
175
}
176
as_func_ret_failure () {
177
  return 1
178
}
179
180
exitcode=0
181
if as_func_success; then
182
  :
183
else
184
  exitcode=1
185
  echo as_func_success failed.
186
fi
187
188
if as_func_failure; then
189
  exitcode=1
190
  echo as_func_failure succeeded.
191
fi
192
193
if as_func_ret_success; then
194
  :
195
else
196
  exitcode=1
197
  echo as_func_ret_success failed.
198
fi
199
200
if as_func_ret_failure; then
201
  exitcode=1
202
  echo as_func_ret_failure succeeded.
203
fi
204
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
  :
207
else
208
  exitcode=1
209
  echo positional parameters were not saved.
210
fi
211
212
test \$exitcode = 0) || { (exit 1); exit 1; }
213
214
(
215
  as_lineno_1=\$LINENO
216
  as_lineno_2=\$LINENO
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
220
  :
221
else
222
  as_candidate_shells=
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.5 by Martin Pitt
Import upstream version 20080215
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1 by Martin Pitt
Import upstream version 20070402
225
do
226
  IFS=$as_save_IFS
227
  test -z "$as_dir" && as_dir=.
228
  case $as_dir in
229
	 /*)
230
	   for as_base in sh bash ksh sh5; do
231
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
	   done;;
233
       esac
234
done
235
IFS=$as_save_IFS
236
237
238
      for as_shell in $as_candidate_shells $SHELL; do
239
	 # Try only shells that exist, to save several forks.
240
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
  emulate sh
244
  NULLCMD=:
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
  # is contrary to our usage.  Disable this feature.
247
  alias -g '${1+"$@"}'='"$@"'
248
  setopt NO_GLOB_SUBST
249
else
1.1.5 by Martin Pitt
Import upstream version 20080215
250
  case `(set -o) 2>/dev/null` in
251
  *posix*) set -o posix ;;
252
esac
253
1 by Martin Pitt
Import upstream version 20070402
254
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
255
1 by Martin Pitt
Import upstream version 20070402
256
257
:
258
_ASEOF
259
}; then
260
  CONFIG_SHELL=$as_shell
261
	       as_have_required=yes
262
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
  emulate sh
265
  NULLCMD=:
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
  # is contrary to our usage.  Disable this feature.
268
  alias -g '${1+"$@"}'='"$@"'
269
  setopt NO_GLOB_SUBST
270
else
1.1.5 by Martin Pitt
Import upstream version 20080215
271
  case `(set -o) 2>/dev/null` in
272
  *posix*) set -o posix ;;
273
esac
274
1 by Martin Pitt
Import upstream version 20070402
275
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
276
1 by Martin Pitt
Import upstream version 20070402
277
278
:
279
(as_func_return () {
280
  (exit $1)
281
}
282
as_func_success () {
283
  as_func_return 0
284
}
285
as_func_failure () {
286
  as_func_return 1
287
}
288
as_func_ret_success () {
289
  return 0
290
}
291
as_func_ret_failure () {
292
  return 1
293
}
294
295
exitcode=0
296
if as_func_success; then
297
  :
298
else
299
  exitcode=1
300
  echo as_func_success failed.
301
fi
302
303
if as_func_failure; then
304
  exitcode=1
305
  echo as_func_failure succeeded.
306
fi
307
308
if as_func_ret_success; then
309
  :
310
else
311
  exitcode=1
312
  echo as_func_ret_success failed.
313
fi
314
315
if as_func_ret_failure; then
316
  exitcode=1
317
  echo as_func_ret_failure succeeded.
318
fi
319
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
  :
322
else
323
  exitcode=1
324
  echo positional parameters were not saved.
325
fi
326
327
test $exitcode = 0) || { (exit 1); exit 1; }
328
329
(
330
  as_lineno_1=$LINENO
331
  as_lineno_2=$LINENO
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335
_ASEOF
336
}; then
337
  break
338
fi
339
340
fi
341
342
      done
343
344
      if test "x$CONFIG_SHELL" != x; then
345
  for as_var in BASH_ENV ENV
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
        done
348
        export CONFIG_SHELL
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
fi
351
352
353
    if test $as_have_required = no; then
354
  echo This script requires a shell more modern than all the
355
      echo shells that I found on your system.  Please install a
356
      echo modern shell, or manually run the script under such a
357
      echo shell if you do have one.
358
      { (exit 1); exit 1; }
359
fi
360
361
362
fi
363
364
fi
365
366
367
368
(eval "as_func_return () {
369
  (exit \$1)
370
}
371
as_func_success () {
372
  as_func_return 0
373
}
374
as_func_failure () {
375
  as_func_return 1
376
}
377
as_func_ret_success () {
378
  return 0
379
}
380
as_func_ret_failure () {
381
  return 1
382
}
383
384
exitcode=0
385
if as_func_success; then
386
  :
387
else
388
  exitcode=1
389
  echo as_func_success failed.
390
fi
391
392
if as_func_failure; then
393
  exitcode=1
394
  echo as_func_failure succeeded.
395
fi
396
397
if as_func_ret_success; then
398
  :
399
else
400
  exitcode=1
401
  echo as_func_ret_success failed.
402
fi
403
404
if as_func_ret_failure; then
405
  exitcode=1
406
  echo as_func_ret_failure succeeded.
407
fi
408
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
  :
411
else
412
  exitcode=1
413
  echo positional parameters were not saved.
414
fi
415
416
test \$exitcode = 0") || {
417
  echo No shell found that supports shell functions.
418
  echo Please tell autoconf@gnu.org about your system,
419
  echo including any error possibly output before this
420
  echo message
421
}
422
423
424
425
  as_lineno_1=$LINENO
426
  as_lineno_2=$LINENO
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
  # line-number line after each line using $LINENO; the second 'sed'
433
  # does the real work.  The second script uses 'N' to pair each
434
  # line-number line with the line containing $LINENO, and appends
435
  # trailing '-' during substitution so that $LINENO is not a special
436
  # case at line end.
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
440
  sed -n '
441
    p
442
    /[$]LINENO/=
443
  ' <$as_myself |
444
    sed '
445
      s/[$]LINENO.*/&-/
446
      t lineno
447
      b
448
      :lineno
449
      N
450
      :loop
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452
      t loop
453
      s/-\n.*//
454
    ' >$as_me.lineno &&
455
  chmod +x "$as_me.lineno" ||
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
   { (exit 1); exit 1; }; }
458
459
  # Don't try to exec as it changes $[0], causing all sort of problems
460
  # (the dirname of $[0] is not the place where we might find the
461
  # original and so on.  Autoconf is especially sensitive to this).
462
  . "./$as_me.lineno"
463
  # Exit status is that of the last command.
464
  exit
465
}
466
467
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
  as_dirname=dirname
470
else
471
  as_dirname=false
472
fi
473
474
ECHO_C= ECHO_N= ECHO_T=
475
case `echo -n x` in
476
-n*)
477
  case `echo 'x\c'` in
478
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479
  *)   ECHO_C='\c';;
480
  esac;;
481
*)
482
  ECHO_N='-n';;
483
esac
484
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
  as_expr=expr
488
else
489
  as_expr=false
490
fi
491
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
  rm -f conf$$.dir/conf$$.file
495
else
496
  rm -f conf$$.dir
497
  mkdir conf$$.dir
498
fi
499
echo >conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
  as_ln_s='ln -s'
502
  # ... but there are two gotchas:
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
  # In both cases, we have to default to `cp -p'.
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507
    as_ln_s='cp -p'
508
elif ln conf$$.file conf$$ 2>/dev/null; then
509
  as_ln_s=ln
510
else
511
  as_ln_s='cp -p'
512
fi
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
515
516
if mkdir -p . 2>/dev/null; then
517
  as_mkdir_p=:
518
else
519
  test -d ./-p && rmdir ./-p
520
  as_mkdir_p=false
521
fi
522
1.1.5 by Martin Pitt
Import upstream version 20080215
523
if test -x / >/dev/null 2>&1; then
524
  as_test_x='test -x'
1 by Martin Pitt
Import upstream version 20070402
525
else
1.1.5 by Martin Pitt
Import upstream version 20080215
526
  if ls -dL / >/dev/null 2>&1; then
527
    as_ls_L_option=L
528
  else
529
    as_ls_L_option=
530
  fi
531
  as_test_x='
532
    eval sh -c '\''
533
      if test -d "$1"; then
534
        test -d "$1/.";
535
      else
536
	case $1 in
537
        -*)set "./$1";;
538
	esac;
539
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
	???[sx]*):;;*)false;;esac;fi
541
    '\'' sh
542
  '
1 by Martin Pitt
Import upstream version 20070402
543
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
544
as_executable_p=$as_test_x
1 by Martin Pitt
Import upstream version 20070402
545
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554
exec 7<&0 </dev/null 6>&1
555
556
# Name of the host.
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561
#
562
# Initializations.
563
#
564
ac_default_prefix=/usr/local
565
ac_clean_files=
566
ac_config_libobj_dir=.
567
LIBOBJS=
568
cross_compiling=no
569
subdirs=
570
MFLAGS=
571
MAKEFLAGS=
572
SHELL=${CONFIG_SHELL-/bin/sh}
573
574
# Identity of this package.
575
PACKAGE_NAME='hal-info'
576
PACKAGE_TARNAME='hal-info'
1.1.11 by Martin Pitt
Import upstream version 20081013
577
PACKAGE_VERSION='20081013'
578
PACKAGE_STRING='hal-info 20081013'
1.1.1 by Martin Pitt
Import upstream version 20070516
579
PACKAGE_BUGREPORT='hal@lists.freedesktop.org'
1 by Martin Pitt
Import upstream version 20070402
580
581
ac_subst_vars='SHELL
582
PATH_SEPARATOR
583
PACKAGE_NAME
584
PACKAGE_TARNAME
585
PACKAGE_VERSION
586
PACKAGE_STRING
587
PACKAGE_BUGREPORT
588
exec_prefix
589
prefix
590
program_transform_name
591
bindir
592
sbindir
593
libexecdir
594
datarootdir
595
datadir
596
sysconfdir
597
sharedstatedir
598
localstatedir
599
includedir
600
oldincludedir
601
docdir
602
infodir
603
htmldir
604
dvidir
605
pdfdir
606
psdir
607
libdir
608
localedir
609
mandir
610
DEFS
611
ECHO_C
612
ECHO_N
613
ECHO_T
614
LIBS
615
build_alias
616
host_alias
617
target_alias
618
INSTALL_PROGRAM
619
INSTALL_SCRIPT
620
INSTALL_DATA
1.1.5 by Martin Pitt
Import upstream version 20080215
621
am__isrc
1 by Martin Pitt
Import upstream version 20070402
622
CYGPATH_W
623
PACKAGE
624
VERSION
625
ACLOCAL
626
AUTOCONF
627
AUTOMAKE
628
AUTOHEADER
629
MAKEINFO
630
install_sh
631
STRIP
632
INSTALL_STRIP_PROGRAM
633
mkdir_p
634
AWK
635
SET_MAKE
636
am__leading_dot
637
AMTAR
638
am__tar
639
am__untar
640
CC
641
CFLAGS
642
LDFLAGS
643
CPPFLAGS
644
ac_ct_CC
645
EXEEXT
646
OBJEXT
647
DEPDIR
648
am__include
649
am__quote
650
AMDEP_TRUE
651
AMDEP_FALSE
652
AMDEPBACKSLASH
653
CCDEPMODE
654
am__fastdepCC_TRUE
655
am__fastdepCC_FALSE
656
LN_S
1.1.3 by Martin Pitt
Import upstream version 20071030
657
PKG_CONFIG
1 by Martin Pitt
Import upstream version 20070402
658
BUILD_RECALL_TRUE
659
BUILD_RECALL_FALSE
660
BUILD_VIDEO_TRUE
661
BUILD_VIDEO_FALSE
1.1.2 by Michael Biebl
Import upstream version 20070618
662
BUILD_KEYMAPS_TRUE
663
BUILD_KEYMAPS_FALSE
1.1.3 by Martin Pitt
Import upstream version 20071030
664
BUILD_KILLSWITCH_DELL_WLAN_TRUE
665
BUILD_KILLSWITCH_DELL_WLAN_FALSE
666
BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE
667
BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE
1.1.5 by Martin Pitt
Import upstream version 20080215
668
BUILD_KILLSWITCH_DELL_WWAN_TRUE
669
BUILD_KILLSWITCH_DELL_WWAN_FALSE
1.1.3 by Martin Pitt
Import upstream version 20071030
670
BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE
671
BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
672
BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE
673
BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE
1.1.3 by Martin Pitt
Import upstream version 20071030
674
BUILD_KILLSWITCH_IPW_WLAN_TRUE
675
BUILD_KILLSWITCH_IPW_WLAN_FALSE
1 by Martin Pitt
Import upstream version 20070402
676
LIBOBJS
677
LTLIBOBJS'
678
ac_subst_files=''
679
      ac_precious_vars='build_alias
680
host_alias
681
target_alias
682
CC
683
CFLAGS
684
LDFLAGS
1.1.5 by Martin Pitt
Import upstream version 20080215
685
LIBS
1.1.3 by Martin Pitt
Import upstream version 20071030
686
CPPFLAGS
687
PKG_CONFIG'
1 by Martin Pitt
Import upstream version 20070402
688
689
690
# Initialize some variables set by options.
691
ac_init_help=
692
ac_init_version=false
693
# The variables have the same names as the options, with
694
# dashes changed to underlines.
695
cache_file=/dev/null
696
exec_prefix=NONE
697
no_create=
698
no_recursion=
699
prefix=NONE
700
program_prefix=NONE
701
program_suffix=NONE
702
program_transform_name=s,x,x,
703
silent=
704
site=
705
srcdir=
706
verbose=
707
x_includes=NONE
708
x_libraries=NONE
709
710
# Installation directory options.
711
# These are left unexpanded so users can "make install exec_prefix=/foo"
712
# and all the variables that are supposed to be based on exec_prefix
713
# by default will actually change.
714
# Use braces instead of parens because sh, perl, etc. also accept them.
715
# (The list follows the same order as the GNU Coding Standards.)
716
bindir='${exec_prefix}/bin'
717
sbindir='${exec_prefix}/sbin'
718
libexecdir='${exec_prefix}/libexec'
719
datarootdir='${prefix}/share'
720
datadir='${datarootdir}'
721
sysconfdir='${prefix}/etc'
722
sharedstatedir='${prefix}/com'
723
localstatedir='${prefix}/var'
724
includedir='${prefix}/include'
725
oldincludedir='/usr/include'
726
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
727
infodir='${datarootdir}/info'
728
htmldir='${docdir}'
729
dvidir='${docdir}'
730
pdfdir='${docdir}'
731
psdir='${docdir}'
732
libdir='${exec_prefix}/lib'
733
localedir='${datarootdir}/locale'
734
mandir='${datarootdir}/man'
735
736
ac_prev=
737
ac_dashdash=
738
for ac_option
739
do
740
  # If the previous option needs an argument, assign it.
741
  if test -n "$ac_prev"; then
742
    eval $ac_prev=\$ac_option
743
    ac_prev=
744
    continue
745
  fi
746
747
  case $ac_option in
748
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749
  *)	ac_optarg=yes ;;
750
  esac
751
752
  # Accept the important Cygnus configure options, so we can diagnose typos.
753
754
  case $ac_dashdash$ac_option in
755
  --)
756
    ac_dashdash=yes ;;
757
758
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
759
    ac_prev=bindir ;;
760
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
761
    bindir=$ac_optarg ;;
762
763
  -build | --build | --buil | --bui | --bu)
764
    ac_prev=build_alias ;;
765
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
766
    build_alias=$ac_optarg ;;
767
768
  -cache-file | --cache-file | --cache-fil | --cache-fi \
769
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
770
    ac_prev=cache_file ;;
771
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
772
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
773
    cache_file=$ac_optarg ;;
774
775
  --config-cache | -C)
776
    cache_file=config.cache ;;
777
778
  -datadir | --datadir | --datadi | --datad)
779
    ac_prev=datadir ;;
780
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
781
    datadir=$ac_optarg ;;
782
783
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
784
  | --dataroo | --dataro | --datar)
785
    ac_prev=datarootdir ;;
786
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
787
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
788
    datarootdir=$ac_optarg ;;
789
790
  -disable-* | --disable-*)
791
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
792
    # Reject names that are not valid shell variable names.
1.1.5 by Martin Pitt
Import upstream version 20080215
793
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Martin Pitt
Import upstream version 20070402
794
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795
   { (exit 1); exit 1; }; }
1.1.5 by Martin Pitt
Import upstream version 20080215
796
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1 by Martin Pitt
Import upstream version 20070402
797
    eval enable_$ac_feature=no ;;
798
799
  -docdir | --docdir | --docdi | --doc | --do)
800
    ac_prev=docdir ;;
801
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
802
    docdir=$ac_optarg ;;
803
804
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
805
    ac_prev=dvidir ;;
806
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
807
    dvidir=$ac_optarg ;;
808
809
  -enable-* | --enable-*)
810
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
811
    # Reject names that are not valid shell variable names.
1.1.5 by Martin Pitt
Import upstream version 20080215
812
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Martin Pitt
Import upstream version 20070402
813
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
814
   { (exit 1); exit 1; }; }
1.1.5 by Martin Pitt
Import upstream version 20080215
815
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1 by Martin Pitt
Import upstream version 20070402
816
    eval enable_$ac_feature=\$ac_optarg ;;
817
818
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
819
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
820
  | --exec | --exe | --ex)
821
    ac_prev=exec_prefix ;;
822
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
823
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
824
  | --exec=* | --exe=* | --ex=*)
825
    exec_prefix=$ac_optarg ;;
826
827
  -gas | --gas | --ga | --g)
828
    # Obsolete; use --with-gas.
829
    with_gas=yes ;;
830
831
  -help | --help | --hel | --he | -h)
832
    ac_init_help=long ;;
833
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
834
    ac_init_help=recursive ;;
835
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
836
    ac_init_help=short ;;
837
838
  -host | --host | --hos | --ho)
839
    ac_prev=host_alias ;;
840
  -host=* | --host=* | --hos=* | --ho=*)
841
    host_alias=$ac_optarg ;;
842
843
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
844
    ac_prev=htmldir ;;
845
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
846
  | --ht=*)
847
    htmldir=$ac_optarg ;;
848
849
  -includedir | --includedir | --includedi | --included | --include \
850
  | --includ | --inclu | --incl | --inc)
851
    ac_prev=includedir ;;
852
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
853
  | --includ=* | --inclu=* | --incl=* | --inc=*)
854
    includedir=$ac_optarg ;;
855
856
  -infodir | --infodir | --infodi | --infod | --info | --inf)
857
    ac_prev=infodir ;;
858
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
859
    infodir=$ac_optarg ;;
860
861
  -libdir | --libdir | --libdi | --libd)
862
    ac_prev=libdir ;;
863
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
864
    libdir=$ac_optarg ;;
865
866
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
867
  | --libexe | --libex | --libe)
868
    ac_prev=libexecdir ;;
869
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
870
  | --libexe=* | --libex=* | --libe=*)
871
    libexecdir=$ac_optarg ;;
872
873
  -localedir | --localedir | --localedi | --localed | --locale)
874
    ac_prev=localedir ;;
875
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
876
    localedir=$ac_optarg ;;
877
878
  -localstatedir | --localstatedir | --localstatedi | --localstated \
879
  | --localstate | --localstat | --localsta | --localst | --locals)
880
    ac_prev=localstatedir ;;
881
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
882
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
883
    localstatedir=$ac_optarg ;;
884
885
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
886
    ac_prev=mandir ;;
887
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
888
    mandir=$ac_optarg ;;
889
890
  -nfp | --nfp | --nf)
891
    # Obsolete; use --without-fp.
892
    with_fp=no ;;
893
894
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
895
  | --no-cr | --no-c | -n)
896
    no_create=yes ;;
897
898
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
899
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
900
    no_recursion=yes ;;
901
902
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
903
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
904
  | --oldin | --oldi | --old | --ol | --o)
905
    ac_prev=oldincludedir ;;
906
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
907
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
908
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
909
    oldincludedir=$ac_optarg ;;
910
911
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
912
    ac_prev=prefix ;;
913
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
914
    prefix=$ac_optarg ;;
915
916
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
917
  | --program-pre | --program-pr | --program-p)
918
    ac_prev=program_prefix ;;
919
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
920
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
921
    program_prefix=$ac_optarg ;;
922
923
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
924
  | --program-suf | --program-su | --program-s)
925
    ac_prev=program_suffix ;;
926
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
927
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
928
    program_suffix=$ac_optarg ;;
929
930
  -program-transform-name | --program-transform-name \
931
  | --program-transform-nam | --program-transform-na \
932
  | --program-transform-n | --program-transform- \
933
  | --program-transform | --program-transfor \
934
  | --program-transfo | --program-transf \
935
  | --program-trans | --program-tran \
936
  | --progr-tra | --program-tr | --program-t)
937
    ac_prev=program_transform_name ;;
938
  -program-transform-name=* | --program-transform-name=* \
939
  | --program-transform-nam=* | --program-transform-na=* \
940
  | --program-transform-n=* | --program-transform-=* \
941
  | --program-transform=* | --program-transfor=* \
942
  | --program-transfo=* | --program-transf=* \
943
  | --program-trans=* | --program-tran=* \
944
  | --progr-tra=* | --program-tr=* | --program-t=*)
945
    program_transform_name=$ac_optarg ;;
946
947
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
948
    ac_prev=pdfdir ;;
949
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
950
    pdfdir=$ac_optarg ;;
951
952
  -psdir | --psdir | --psdi | --psd | --ps)
953
    ac_prev=psdir ;;
954
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
955
    psdir=$ac_optarg ;;
956
957
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958
  | -silent | --silent | --silen | --sile | --sil)
959
    silent=yes ;;
960
961
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
962
    ac_prev=sbindir ;;
963
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
964
  | --sbi=* | --sb=*)
965
    sbindir=$ac_optarg ;;
966
967
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
968
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969
  | --sharedst | --shareds | --shared | --share | --shar \
970
  | --sha | --sh)
971
    ac_prev=sharedstatedir ;;
972
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
975
  | --sha=* | --sh=*)
976
    sharedstatedir=$ac_optarg ;;
977
978
  -site | --site | --sit)
979
    ac_prev=site ;;
980
  -site=* | --site=* | --sit=*)
981
    site=$ac_optarg ;;
982
983
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
984
    ac_prev=srcdir ;;
985
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
986
    srcdir=$ac_optarg ;;
987
988
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989
  | --syscon | --sysco | --sysc | --sys | --sy)
990
    ac_prev=sysconfdir ;;
991
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993
    sysconfdir=$ac_optarg ;;
994
995
  -target | --target | --targe | --targ | --tar | --ta | --t)
996
    ac_prev=target_alias ;;
997
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998
    target_alias=$ac_optarg ;;
999
1000
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1001
    verbose=yes ;;
1002
1003
  -version | --version | --versio | --versi | --vers | -V)
1004
    ac_init_version=: ;;
1005
1006
  -with-* | --with-*)
1007
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008
    # Reject names that are not valid shell variable names.
1.1.5 by Martin Pitt
Import upstream version 20080215
1009
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Martin Pitt
Import upstream version 20070402
1010
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1011
   { (exit 1); exit 1; }; }
1.1.5 by Martin Pitt
Import upstream version 20080215
1012
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1 by Martin Pitt
Import upstream version 20070402
1013
    eval with_$ac_package=\$ac_optarg ;;
1014
1015
  -without-* | --without-*)
1016
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1017
    # Reject names that are not valid shell variable names.
1.1.5 by Martin Pitt
Import upstream version 20080215
1018
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Martin Pitt
Import upstream version 20070402
1019
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1020
   { (exit 1); exit 1; }; }
1.1.5 by Martin Pitt
Import upstream version 20080215
1021
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1 by Martin Pitt
Import upstream version 20070402
1022
    eval with_$ac_package=no ;;
1023
1024
  --x)
1025
    # Obsolete; use --with-x.
1026
    with_x=yes ;;
1027
1028
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029
  | --x-incl | --x-inc | --x-in | --x-i)
1030
    ac_prev=x_includes ;;
1031
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033
    x_includes=$ac_optarg ;;
1034
1035
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037
    ac_prev=x_libraries ;;
1038
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040
    x_libraries=$ac_optarg ;;
1041
1042
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1043
Try \`$0 --help' for more information." >&2
1044
   { (exit 1); exit 1; }; }
1045
    ;;
1046
1047
  *=*)
1048
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1049
    # Reject names that are not valid shell variable names.
1050
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1051
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1052
   { (exit 1); exit 1; }; }
1053
    eval $ac_envvar=\$ac_optarg
1054
    export $ac_envvar ;;
1055
1056
  *)
1057
    # FIXME: should be removed in autoconf 3.0.
1058
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1062
    ;;
1063
1064
  esac
1065
done
1066
1067
if test -n "$ac_prev"; then
1068
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1069
  { echo "$as_me: error: missing argument to $ac_option" >&2
1070
   { (exit 1); exit 1; }; }
1071
fi
1072
1073
# Be sure to have absolute directory names.
1074
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075
		datadir sysconfdir sharedstatedir localstatedir includedir \
1076
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077
		libdir localedir mandir
1078
do
1079
  eval ac_val=\$$ac_var
1080
  case $ac_val in
1081
    [\\/$]* | ?:[\\/]* )  continue;;
1082
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1083
  esac
1084
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1085
   { (exit 1); exit 1; }; }
1086
done
1087
1088
# There might be people who depend on the old broken behavior: `$host'
1089
# used to hold the argument of --host etc.
1090
# FIXME: To remove some day.
1091
build=$build_alias
1092
host=$host_alias
1093
target=$target_alias
1094
1095
# FIXME: To remove some day.
1096
if test "x$host_alias" != x; then
1097
  if test "x$build_alias" = x; then
1098
    cross_compiling=maybe
1099
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1100
    If a cross compiler is detected then cross compile mode will be used." >&2
1101
  elif test "x$build_alias" != "x$host_alias"; then
1102
    cross_compiling=yes
1103
  fi
1104
fi
1105
1106
ac_tool_prefix=
1107
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1108
1109
test "$silent" = yes && exec 6>/dev/null
1110
1111
1112
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1113
ac_ls_di=`ls -di .` &&
1114
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1115
  { echo "$as_me: error: Working directory cannot be determined" >&2
1116
   { (exit 1); exit 1; }; }
1117
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1118
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1119
   { (exit 1); exit 1; }; }
1120
1121
1122
# Find the source files, if location was not specified.
1123
if test -z "$srcdir"; then
1124
  ac_srcdir_defaulted=yes
1125
  # Try the directory containing this script, then the parent directory.
1126
  ac_confdir=`$as_dirname -- "$0" ||
1127
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1128
	 X"$0" : 'X\(//\)[^/]' \| \
1129
	 X"$0" : 'X\(//\)$' \| \
1130
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1131
echo X"$0" |
1132
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1133
	    s//\1/
1134
	    q
1135
	  }
1136
	  /^X\(\/\/\)[^/].*/{
1137
	    s//\1/
1138
	    q
1139
	  }
1140
	  /^X\(\/\/\)$/{
1141
	    s//\1/
1142
	    q
1143
	  }
1144
	  /^X\(\/\).*/{
1145
	    s//\1/
1146
	    q
1147
	  }
1148
	  s/.*/./; q'`
1149
  srcdir=$ac_confdir
1150
  if test ! -r "$srcdir/$ac_unique_file"; then
1151
    srcdir=..
1152
  fi
1153
else
1154
  ac_srcdir_defaulted=no
1155
fi
1156
if test ! -r "$srcdir/$ac_unique_file"; then
1157
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1158
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1159
   { (exit 1); exit 1; }; }
1160
fi
1161
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1162
ac_abs_confdir=`(
1163
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1164
   { (exit 1); exit 1; }; }
1165
	pwd)`
1166
# When building in place, set srcdir=.
1167
if test "$ac_abs_confdir" = "$ac_pwd"; then
1168
  srcdir=.
1169
fi
1170
# Remove unnecessary trailing slashes from srcdir.
1171
# Double slashes in file names in object file debugging info
1172
# mess up M-x gdb in Emacs.
1173
case $srcdir in
1174
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1175
esac
1176
for ac_var in $ac_precious_vars; do
1177
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1178
  eval ac_env_${ac_var}_value=\$${ac_var}
1179
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1180
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1181
done
1182
1183
#
1184
# Report the --help message.
1185
#
1186
if test "$ac_init_help" = "long"; then
1187
  # Omit some internal or obsolete options to make the list less imposing.
1188
  # This message is too long to be a string in the A/UX 3.1 sh.
1189
  cat <<_ACEOF
1.1.11 by Martin Pitt
Import upstream version 20081013
1190
\`configure' configures hal-info 20081013 to adapt to many kinds of systems.
1 by Martin Pitt
Import upstream version 20070402
1191
1192
Usage: $0 [OPTION]... [VAR=VALUE]...
1193
1194
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1195
VAR=VALUE.  See below for descriptions of some of the useful variables.
1196
1197
Defaults for the options are specified in brackets.
1198
1199
Configuration:
1200
  -h, --help              display this help and exit
1201
      --help=short        display options specific to this package
1202
      --help=recursive    display the short help of all the included packages
1203
  -V, --version           display version information and exit
1204
  -q, --quiet, --silent   do not print \`checking...' messages
1205
      --cache-file=FILE   cache test results in FILE [disabled]
1206
  -C, --config-cache      alias for \`--cache-file=config.cache'
1207
  -n, --no-create         do not create output files
1208
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1209
1210
Installation directories:
1211
  --prefix=PREFIX         install architecture-independent files in PREFIX
1212
			  [$ac_default_prefix]
1213
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1214
			  [PREFIX]
1215
1216
By default, \`make install' will install all the files in
1217
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1218
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1219
for instance \`--prefix=\$HOME'.
1220
1221
For better control, use the options below.
1222
1223
Fine tuning of the installation directories:
1224
  --bindir=DIR           user executables [EPREFIX/bin]
1225
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1226
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1227
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1228
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1229
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1230
  --libdir=DIR           object code libraries [EPREFIX/lib]
1231
  --includedir=DIR       C header files [PREFIX/include]
1232
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1233
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1234
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1235
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1236
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1237
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1238
  --docdir=DIR           documentation root [DATAROOTDIR/doc/hal-info]
1239
  --htmldir=DIR          html documentation [DOCDIR]
1240
  --dvidir=DIR           dvi documentation [DOCDIR]
1241
  --pdfdir=DIR           pdf documentation [DOCDIR]
1242
  --psdir=DIR            ps documentation [DOCDIR]
1243
_ACEOF
1244
1245
  cat <<\_ACEOF
1246
1247
Program names:
1248
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1249
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1250
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1251
_ACEOF
1252
fi
1253
1254
if test -n "$ac_init_help"; then
1255
  case $ac_init_help in
1.1.11 by Martin Pitt
Import upstream version 20081013
1256
     short | recursive ) echo "Configuration of hal-info 20081013:";;
1 by Martin Pitt
Import upstream version 20070402
1257
   esac
1258
  cat <<\_ACEOF
1259
1260
Optional Features:
1261
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1262
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1263
  --disable-dependency-tracking  speeds up one-time build
1264
  --enable-dependency-tracking   do not reject slow dependency extractors
1265
  --enable-recall         include recall data
1266
  --enable-video          include video suspend data
1.1.2 by Michael Biebl
Import upstream version 20070618
1267
  --enable-keymaps        include key mapping data
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
1268
  --enable-killswitch-dell-wlan   Include support for Dell WLAN killswitch
1269
  --enable-killswitch-dell-bluetooth   Include support for Dell Bluetooth killswitch
1270
  --enable-killswitch-dell-wwan   Include support for Dell WWAN killswitch (requires hal >= 0.5.11)
1271
  --enable-killswitch-sony-bluetooth   Include support for Sony Bluetooth killswitch
1272
  --enable-killswitch-thinkpad-bluetooth   Include support for Thinkpad Bluetooth killswitch (requires hal >= 0.5.11)
1273
  --enable-killswitch-ipw-wlan   Include support for IPW WLAN killswitch (requires hal >= 0.5.10)
1 by Martin Pitt
Import upstream version 20070402
1274
1275
Some influential environment variables:
1276
  CC          C compiler command
1277
  CFLAGS      C compiler flags
1278
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1279
              nonstandard directory <lib dir>
1.1.5 by Martin Pitt
Import upstream version 20080215
1280
  LIBS        libraries to pass to the linker, e.g. -l<library>
1 by Martin Pitt
Import upstream version 20070402
1281
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1282
              you have headers in a nonstandard directory <include dir>
1.1.3 by Martin Pitt
Import upstream version 20071030
1283
  PKG_CONFIG  path to pkg-config utility
1 by Martin Pitt
Import upstream version 20070402
1284
1285
Use these variables to override the choices made by `configure' or to help
1286
it to find libraries and programs with nonstandard names/locations.
1287
1.1.1 by Martin Pitt
Import upstream version 20070516
1288
Report bugs to <hal@lists.freedesktop.org>.
1 by Martin Pitt
Import upstream version 20070402
1289
_ACEOF
1290
ac_status=$?
1291
fi
1292
1293
if test "$ac_init_help" = "recursive"; then
1294
  # If there are subdirs, report their specific --help.
1295
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1296
    test -d "$ac_dir" || continue
1297
    ac_builddir=.
1298
1299
case "$ac_dir" in
1300
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1301
*)
1302
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1303
  # A ".." for each directory in $ac_dir_suffix.
1304
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1305
  case $ac_top_builddir_sub in
1306
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1307
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1308
  esac ;;
1309
esac
1310
ac_abs_top_builddir=$ac_pwd
1311
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1312
# for backward compatibility:
1313
ac_top_builddir=$ac_top_build_prefix
1314
1315
case $srcdir in
1316
  .)  # We are building in place.
1317
    ac_srcdir=.
1318
    ac_top_srcdir=$ac_top_builddir_sub
1319
    ac_abs_top_srcdir=$ac_pwd ;;
1320
  [\\/]* | ?:[\\/]* )  # Absolute name.
1321
    ac_srcdir=$srcdir$ac_dir_suffix;
1322
    ac_top_srcdir=$srcdir
1323
    ac_abs_top_srcdir=$srcdir ;;
1324
  *) # Relative name.
1325
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1326
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1327
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1328
esac
1329
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1330
1331
    cd "$ac_dir" || { ac_status=$?; continue; }
1332
    # Check for guested configure.
1333
    if test -f "$ac_srcdir/configure.gnu"; then
1334
      echo &&
1335
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1336
    elif test -f "$ac_srcdir/configure"; then
1337
      echo &&
1338
      $SHELL "$ac_srcdir/configure" --help=recursive
1339
    else
1340
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1341
    fi || ac_status=$?
1342
    cd "$ac_pwd" || { ac_status=$?; break; }
1343
  done
1344
fi
1345
1346
test -n "$ac_init_help" && exit $ac_status
1347
if $ac_init_version; then
1348
  cat <<\_ACEOF
1.1.11 by Martin Pitt
Import upstream version 20081013
1349
hal-info configure 20081013
1.1.5 by Martin Pitt
Import upstream version 20080215
1350
generated by GNU Autoconf 2.61
1 by Martin Pitt
Import upstream version 20070402
1351
1352
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1353
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1354
This configure script is free software; the Free Software Foundation
1355
gives unlimited permission to copy, distribute and modify it.
1356
_ACEOF
1357
  exit
1358
fi
1359
cat >config.log <<_ACEOF
1360
This file contains any messages produced by compilers while
1361
running configure, to aid debugging if configure makes a mistake.
1362
1.1.11 by Martin Pitt
Import upstream version 20081013
1363
It was created by hal-info $as_me 20081013, which was
1.1.5 by Martin Pitt
Import upstream version 20080215
1364
generated by GNU Autoconf 2.61.  Invocation command line was
1 by Martin Pitt
Import upstream version 20070402
1365
1366
  $ $0 $@
1367
1368
_ACEOF
1369
exec 5>>config.log
1370
{
1371
cat <<_ASUNAME
1372
## --------- ##
1373
## Platform. ##
1374
## --------- ##
1375
1376
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1377
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1378
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1379
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1380
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1381
1382
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1383
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1384
1385
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1386
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1387
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1388
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1389
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1390
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1391
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1392
1393
_ASUNAME
1394
1395
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1396
for as_dir in $PATH
1397
do
1398
  IFS=$as_save_IFS
1399
  test -z "$as_dir" && as_dir=.
1400
  echo "PATH: $as_dir"
1401
done
1402
IFS=$as_save_IFS
1403
1404
} >&5
1405
1406
cat >&5 <<_ACEOF
1407
1408
1409
## ----------- ##
1410
## Core tests. ##
1411
## ----------- ##
1412
1413
_ACEOF
1414
1415
1416
# Keep a trace of the command line.
1417
# Strip out --no-create and --no-recursion so they do not pile up.
1418
# Strip out --silent because we don't want to record it for future runs.
1419
# Also quote any args containing shell meta-characters.
1420
# Make two passes to allow for proper duplicate-argument suppression.
1421
ac_configure_args=
1422
ac_configure_args0=
1423
ac_configure_args1=
1424
ac_must_keep_next=false
1425
for ac_pass in 1 2
1426
do
1427
  for ac_arg
1428
  do
1429
    case $ac_arg in
1430
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1431
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1432
    | -silent | --silent | --silen | --sile | --sil)
1433
      continue ;;
1434
    *\'*)
1435
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1436
    esac
1437
    case $ac_pass in
1438
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1439
    2)
1440
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1441
      if test $ac_must_keep_next = true; then
1442
	ac_must_keep_next=false # Got value, back to normal.
1443
      else
1444
	case $ac_arg in
1445
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1446
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1447
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1448
	  | -with-* | --with-* | -without-* | --without-* | --x)
1449
	    case "$ac_configure_args0 " in
1450
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1451
	    esac
1452
	    ;;
1453
	  -* ) ac_must_keep_next=true ;;
1454
	esac
1455
      fi
1456
      ac_configure_args="$ac_configure_args '$ac_arg'"
1457
      ;;
1458
    esac
1459
  done
1460
done
1461
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1462
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1463
1464
# When interrupted or exit'd, cleanup temporary files, and complete
1465
# config.log.  We remove comments because anyway the quotes in there
1466
# would cause problems or look ugly.
1467
# WARNING: Use '\'' to represent an apostrophe within the trap.
1468
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1469
trap 'exit_status=$?
1470
  # Save into config.log some information that might help in debugging.
1471
  {
1472
    echo
1473
1474
    cat <<\_ASBOX
1475
## ---------------- ##
1476
## Cache variables. ##
1477
## ---------------- ##
1478
_ASBOX
1479
    echo
1480
    # The following way of writing the cache mishandles newlines in values,
1481
(
1482
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1483
    eval ac_val=\$$ac_var
1484
    case $ac_val in #(
1485
    *${as_nl}*)
1486
      case $ac_var in #(
1487
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1488
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1489
      esac
1490
      case $ac_var in #(
1491
      _ | IFS | as_nl) ;; #(
1492
      *) $as_unset $ac_var ;;
1493
      esac ;;
1494
    esac
1495
  done
1496
  (set) 2>&1 |
1497
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1498
    *${as_nl}ac_space=\ *)
1499
      sed -n \
1500
	"s/'\''/'\''\\\\'\'''\''/g;
1501
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1502
      ;; #(
1503
    *)
1504
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1505
      ;;
1506
    esac |
1507
    sort
1508
)
1509
    echo
1510
1511
    cat <<\_ASBOX
1512
## ----------------- ##
1513
## Output variables. ##
1514
## ----------------- ##
1515
_ASBOX
1516
    echo
1517
    for ac_var in $ac_subst_vars
1518
    do
1519
      eval ac_val=\$$ac_var
1520
      case $ac_val in
1521
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1522
      esac
1523
      echo "$ac_var='\''$ac_val'\''"
1524
    done | sort
1525
    echo
1526
1527
    if test -n "$ac_subst_files"; then
1528
      cat <<\_ASBOX
1529
## ------------------- ##
1530
## File substitutions. ##
1531
## ------------------- ##
1532
_ASBOX
1533
      echo
1534
      for ac_var in $ac_subst_files
1535
      do
1536
	eval ac_val=\$$ac_var
1537
	case $ac_val in
1538
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1539
	esac
1540
	echo "$ac_var='\''$ac_val'\''"
1541
      done | sort
1542
      echo
1543
    fi
1544
1545
    if test -s confdefs.h; then
1546
      cat <<\_ASBOX
1547
## ----------- ##
1548
## confdefs.h. ##
1549
## ----------- ##
1550
_ASBOX
1551
      echo
1552
      cat confdefs.h
1553
      echo
1554
    fi
1555
    test "$ac_signal" != 0 &&
1556
      echo "$as_me: caught signal $ac_signal"
1557
    echo "$as_me: exit $exit_status"
1558
  } >&5
1559
  rm -f core *.core core.conftest.* &&
1560
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1561
    exit $exit_status
1562
' 0
1563
for ac_signal in 1 2 13 15; do
1564
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1565
done
1566
ac_signal=0
1567
1568
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1569
rm -f -r conftest* confdefs.h
1570
1571
# Predefined preprocessor variables.
1572
1573
cat >>confdefs.h <<_ACEOF
1574
#define PACKAGE_NAME "$PACKAGE_NAME"
1575
_ACEOF
1576
1577
1578
cat >>confdefs.h <<_ACEOF
1579
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1580
_ACEOF
1581
1582
1583
cat >>confdefs.h <<_ACEOF
1584
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1585
_ACEOF
1586
1587
1588
cat >>confdefs.h <<_ACEOF
1589
#define PACKAGE_STRING "$PACKAGE_STRING"
1590
_ACEOF
1591
1592
1593
cat >>confdefs.h <<_ACEOF
1594
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1595
_ACEOF
1596
1597
1598
# Let the site file select an alternate cache file if it wants to.
1599
# Prefer explicitly selected file to automatically selected ones.
1600
if test -n "$CONFIG_SITE"; then
1601
  set x "$CONFIG_SITE"
1602
elif test "x$prefix" != xNONE; then
1603
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1604
else
1605
  set x "$ac_default_prefix/share/config.site" \
1606
	"$ac_default_prefix/etc/config.site"
1607
fi
1608
shift
1609
for ac_site_file
1610
do
1611
  if test -r "$ac_site_file"; then
1612
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1613
echo "$as_me: loading site script $ac_site_file" >&6;}
1614
    sed 's/^/| /' "$ac_site_file" >&5
1615
    . "$ac_site_file"
1616
  fi
1617
done
1618
1619
if test -r "$cache_file"; then
1620
  # Some versions of bash will fail to source /dev/null (special
1621
  # files actually), so we avoid doing that.
1622
  if test -f "$cache_file"; then
1623
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1624
echo "$as_me: loading cache $cache_file" >&6;}
1625
    case $cache_file in
1626
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1627
      *)                      . "./$cache_file";;
1628
    esac
1629
  fi
1630
else
1631
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1632
echo "$as_me: creating cache $cache_file" >&6;}
1633
  >$cache_file
1634
fi
1635
1636
# Check that the precious variables saved in the cache have kept the same
1637
# value.
1638
ac_cache_corrupted=false
1639
for ac_var in $ac_precious_vars; do
1640
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1641
  eval ac_new_set=\$ac_env_${ac_var}_set
1642
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1643
  eval ac_new_val=\$ac_env_${ac_var}_value
1644
  case $ac_old_set,$ac_new_set in
1645
    set,)
1646
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1647
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1648
      ac_cache_corrupted=: ;;
1649
    ,set)
1650
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1651
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1652
      ac_cache_corrupted=: ;;
1653
    ,);;
1654
    *)
1655
      if test "x$ac_old_val" != "x$ac_new_val"; then
1656
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1657
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1658
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1659
echo "$as_me:   former value:  $ac_old_val" >&2;}
1660
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1661
echo "$as_me:   current value: $ac_new_val" >&2;}
1662
	ac_cache_corrupted=:
1663
      fi;;
1664
  esac
1665
  # Pass precious variables to config.status.
1666
  if test "$ac_new_set" = set; then
1667
    case $ac_new_val in
1668
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1669
    *) ac_arg=$ac_var=$ac_new_val ;;
1670
    esac
1671
    case " $ac_configure_args " in
1672
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1673
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1674
    esac
1675
  fi
1676
done
1677
if $ac_cache_corrupted; then
1678
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1679
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1680
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1681
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1682
   { (exit 1); exit 1; }; }
1683
fi
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
ac_ext=c
1710
ac_cpp='$CPP $CPPFLAGS'
1711
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1712
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1713
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1714
1715
1.1.5 by Martin Pitt
Import upstream version 20080215
1716
am__api_version='1.10'
1717
1 by Martin Pitt
Import upstream version 20070402
1718
ac_aux_dir=
1719
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1720
  if test -f "$ac_dir/install-sh"; then
1721
    ac_aux_dir=$ac_dir
1722
    ac_install_sh="$ac_aux_dir/install-sh -c"
1723
    break
1724
  elif test -f "$ac_dir/install.sh"; then
1725
    ac_aux_dir=$ac_dir
1726
    ac_install_sh="$ac_aux_dir/install.sh -c"
1727
    break
1728
  elif test -f "$ac_dir/shtool"; then
1729
    ac_aux_dir=$ac_dir
1730
    ac_install_sh="$ac_aux_dir/shtool install -c"
1731
    break
1732
  fi
1733
done
1734
if test -z "$ac_aux_dir"; then
1735
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1736
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1737
   { (exit 1); exit 1; }; }
1738
fi
1739
1740
# These three variables are undocumented and unsupported,
1741
# and are intended to be withdrawn in a future Autoconf release.
1742
# They can cause serious problems if a builder's source tree is in a directory
1743
# whose full name contains unusual characters.
1744
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1745
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1746
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1747
1748
1749
# Find a good install program.  We prefer a C program (faster),
1750
# so one script is as good as another.  But avoid the broken or
1751
# incompatible versions:
1752
# SysV /etc/install, /usr/sbin/install
1753
# SunOS /usr/etc/install
1754
# IRIX /sbin/install
1755
# AIX /bin/install
1756
# AmigaOS /C/install, which installs bootblocks on floppy discs
1757
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1758
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1759
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1760
# OS/2's system install, which has a completely different semantic
1761
# ./install, which can be erroneously created by make from ./install.sh.
1762
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1763
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1764
if test -z "$INSTALL"; then
1765
if test "${ac_cv_path_install+set}" = set; then
1766
  echo $ECHO_N "(cached) $ECHO_C" >&6
1767
else
1768
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1769
for as_dir in $PATH
1770
do
1771
  IFS=$as_save_IFS
1772
  test -z "$as_dir" && as_dir=.
1773
  # Account for people who put trailing slashes in PATH elements.
1774
case $as_dir/ in
1775
  ./ | .// | /cC/* | \
1776
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1777
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1778
  /usr/ucb/* ) ;;
1779
  *)
1780
    # OSF1 and SCO ODT 3.0 have their own names for install.
1781
    # Don't use installbsd from OSF since it installs stuff as root
1782
    # by default.
1783
    for ac_prog in ginstall scoinst install; do
1784
      for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
1785
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
1786
	  if test $ac_prog = install &&
1787
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1788
	    # AIX install.  It has an incompatible calling convention.
1789
	    :
1790
	  elif test $ac_prog = install &&
1791
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1792
	    # program-specific install script used by HP pwplus--don't use.
1793
	    :
1794
	  else
1795
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1796
	    break 3
1797
	  fi
1798
	fi
1799
      done
1800
    done
1801
    ;;
1802
esac
1803
done
1804
IFS=$as_save_IFS
1805
1806
1807
fi
1808
  if test "${ac_cv_path_install+set}" = set; then
1809
    INSTALL=$ac_cv_path_install
1810
  else
1811
    # As a last resort, use the slow shell script.  Don't cache a
1812
    # value for INSTALL within a source directory, because that will
1813
    # break other packages using the cache if that directory is
1814
    # removed, or if the value is a relative name.
1815
    INSTALL=$ac_install_sh
1816
  fi
1817
fi
1818
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1819
echo "${ECHO_T}$INSTALL" >&6; }
1820
1821
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1822
# It thinks the first close brace ends the variable substitution.
1823
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1824
1825
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1826
1827
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1828
1829
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1830
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1831
# Just in case
1832
sleep 1
1833
echo timestamp > conftest.file
1834
# Do `set' in a subshell so we don't clobber the current shell's
1835
# arguments.  Must try -L first in case configure is actually a
1836
# symlink; some systems play weird games with the mod time of symlinks
1837
# (eg FreeBSD returns the mod time of the symlink's containing
1838
# directory).
1839
if (
1840
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1841
   if test "$*" = "X"; then
1842
      # -L didn't work.
1843
      set X `ls -t $srcdir/configure conftest.file`
1844
   fi
1845
   rm -f conftest.file
1846
   if test "$*" != "X $srcdir/configure conftest.file" \
1847
      && test "$*" != "X conftest.file $srcdir/configure"; then
1848
1849
      # If neither matched, then we have a broken ls.  This can happen
1850
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1851
      # broken ls alias from the environment.  This has actually
1852
      # happened.  Such a system could not be considered "sane".
1853
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1854
alias in your environment" >&5
1855
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1856
alias in your environment" >&2;}
1857
   { (exit 1); exit 1; }; }
1858
   fi
1859
1860
   test "$2" = conftest.file
1861
   )
1862
then
1863
   # Ok.
1864
   :
1865
else
1866
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1867
Check your system clock" >&5
1868
echo "$as_me: error: newly created file is older than distributed files!
1869
Check your system clock" >&2;}
1870
   { (exit 1); exit 1; }; }
1871
fi
1872
{ echo "$as_me:$LINENO: result: yes" >&5
1873
echo "${ECHO_T}yes" >&6; }
1874
test "$program_prefix" != NONE &&
1875
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1876
# Use a double $ so make ignores it.
1877
test "$program_suffix" != NONE &&
1878
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1879
# Double any \ or $.  echo might interpret backslashes.
1880
# By default was `s,x,x', remove it if useless.
1881
cat <<\_ACEOF >conftest.sed
1882
s/[\\$]/&&/g;s/;s,x,x,$//
1883
_ACEOF
1884
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1885
rm -f conftest.sed
1886
1887
# expand $ac_aux_dir to an absolute path
1888
am_aux_dir=`cd $ac_aux_dir && pwd`
1889
1890
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1891
# Use eval to expand $SHELL
1892
if eval "$MISSING --run true"; then
1893
  am_missing_run="$MISSING --run "
1894
else
1895
  am_missing_run=
1896
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1897
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1898
fi
1899
1.1.5 by Martin Pitt
Import upstream version 20080215
1900
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1901
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1902
if test -z "$MKDIR_P"; then
1903
  if test "${ac_cv_path_mkdir+set}" = set; then
1904
  echo $ECHO_N "(cached) $ECHO_C" >&6
1 by Martin Pitt
Import upstream version 20070402
1905
else
1.1.5 by Martin Pitt
Import upstream version 20080215
1906
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1908
do
1909
  IFS=$as_save_IFS
1910
  test -z "$as_dir" && as_dir=.
1911
  for ac_prog in mkdir gmkdir; do
1912
	 for ac_exec_ext in '' $ac_executable_extensions; do
1913
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1914
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1915
	     'mkdir (GNU coreutils) '* | \
1916
	     'mkdir (coreutils) '* | \
1917
	     'mkdir (fileutils) '4.1*)
1918
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1919
	       break 3;;
1920
	   esac
1921
	 done
1922
       done
1923
done
1924
IFS=$as_save_IFS
1925
1926
fi
1927
1928
  if test "${ac_cv_path_mkdir+set}" = set; then
1929
    MKDIR_P="$ac_cv_path_mkdir -p"
1 by Martin Pitt
Import upstream version 20070402
1930
  else
1.1.5 by Martin Pitt
Import upstream version 20080215
1931
    # As a last resort, use the slow shell script.  Don't cache a
1932
    # value for MKDIR_P within a source directory, because that will
1933
    # break other packages using the cache if that directory is
1934
    # removed, or if the value is a relative name.
1935
    test -d ./--version && rmdir ./--version
1936
    MKDIR_P="$ac_install_sh -d"
1 by Martin Pitt
Import upstream version 20070402
1937
  fi
1938
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
1939
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1940
echo "${ECHO_T}$MKDIR_P" >&6; }
1941
1942
mkdir_p="$MKDIR_P"
1943
case $mkdir_p in
1944
  [\\/$]* | ?:[\\/]*) ;;
1945
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1946
esac
1 by Martin Pitt
Import upstream version 20070402
1947
1948
for ac_prog in gawk mawk nawk awk
1949
do
1950
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1951
set dummy $ac_prog; ac_word=$2
1952
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1953
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1954
if test "${ac_cv_prog_AWK+set}" = set; then
1955
  echo $ECHO_N "(cached) $ECHO_C" >&6
1956
else
1957
  if test -n "$AWK"; then
1958
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1959
else
1960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961
for as_dir in $PATH
1962
do
1963
  IFS=$as_save_IFS
1964
  test -z "$as_dir" && as_dir=.
1965
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
1966
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
1967
    ac_cv_prog_AWK="$ac_prog"
1968
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969
    break 2
1970
  fi
1971
done
1972
done
1973
IFS=$as_save_IFS
1974
1975
fi
1976
fi
1977
AWK=$ac_cv_prog_AWK
1978
if test -n "$AWK"; then
1979
  { echo "$as_me:$LINENO: result: $AWK" >&5
1980
echo "${ECHO_T}$AWK" >&6; }
1981
else
1982
  { echo "$as_me:$LINENO: result: no" >&5
1983
echo "${ECHO_T}no" >&6; }
1984
fi
1985
1986
1987
  test -n "$AWK" && break
1988
done
1989
1990
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1991
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1992
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1993
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1994
  echo $ECHO_N "(cached) $ECHO_C" >&6
1995
else
1996
  cat >conftest.make <<\_ACEOF
1997
SHELL = /bin/sh
1998
all:
1999
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2000
_ACEOF
2001
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2002
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2003
  *@@@%%%=?*=@@@%%%*)
2004
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2005
  *)
2006
    eval ac_cv_prog_make_${ac_make}_set=no;;
2007
esac
2008
rm -f conftest.make
2009
fi
2010
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2011
  { echo "$as_me:$LINENO: result: yes" >&5
2012
echo "${ECHO_T}yes" >&6; }
2013
  SET_MAKE=
2014
else
2015
  { echo "$as_me:$LINENO: result: no" >&5
2016
echo "${ECHO_T}no" >&6; }
2017
  SET_MAKE="MAKE=${MAKE-make}"
2018
fi
2019
2020
rm -rf .tst 2>/dev/null
2021
mkdir .tst 2>/dev/null
2022
if test -d .tst; then
2023
  am__leading_dot=.
2024
else
2025
  am__leading_dot=_
2026
fi
2027
rmdir .tst 2>/dev/null
2028
1.1.5 by Martin Pitt
Import upstream version 20080215
2029
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2030
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2031
  # is not polluted with repeated "-I."
2032
  am__isrc=' -I$(srcdir)'
2033
  # test to see if srcdir already configured
2034
  if test -f $srcdir/config.status; then
2035
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1 by Martin Pitt
Import upstream version 20070402
2036
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2037
   { (exit 1); exit 1; }; }
1.1.5 by Martin Pitt
Import upstream version 20080215
2038
  fi
1 by Martin Pitt
Import upstream version 20070402
2039
fi
2040
2041
# test whether we have cygpath
2042
if test -z "$CYGPATH_W"; then
2043
  if (cygpath --version) >/dev/null 2>/dev/null; then
2044
    CYGPATH_W='cygpath -w'
2045
  else
2046
    CYGPATH_W=echo
2047
  fi
2048
fi
2049
2050
2051
# Define the identity of the package.
2052
 PACKAGE=hal-info
1.1.11 by Martin Pitt
Import upstream version 20081013
2053
 VERSION=20081013
1 by Martin Pitt
Import upstream version 20070402
2054
2055
2056
cat >>confdefs.h <<_ACEOF
2057
#define PACKAGE "$PACKAGE"
2058
_ACEOF
2059
2060
2061
cat >>confdefs.h <<_ACEOF
2062
#define VERSION "$VERSION"
2063
_ACEOF
2064
2065
# Some tools Automake needs.
2066
2067
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2068
2069
2070
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2071
2072
2073
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2074
2075
2076
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2077
2078
2079
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2080
1.1.5 by Martin Pitt
Import upstream version 20080215
2081
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1 by Martin Pitt
Import upstream version 20070402
2082
2083
# Installed binaries are usually stripped using `strip' when the user
2084
# run `make install-strip'.  However `strip' might not be the right
2085
# tool to use in cross-compilation environments, therefore Automake
2086
# will honor the `STRIP' environment variable to overrule this program.
2087
if test "$cross_compiling" != no; then
2088
  if test -n "$ac_tool_prefix"; then
2089
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2090
set dummy ${ac_tool_prefix}strip; ac_word=$2
2091
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2092
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2093
if test "${ac_cv_prog_STRIP+set}" = set; then
2094
  echo $ECHO_N "(cached) $ECHO_C" >&6
2095
else
2096
  if test -n "$STRIP"; then
2097
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2098
else
2099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100
for as_dir in $PATH
2101
do
2102
  IFS=$as_save_IFS
2103
  test -z "$as_dir" && as_dir=.
2104
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2106
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2107
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108
    break 2
2109
  fi
2110
done
2111
done
2112
IFS=$as_save_IFS
2113
2114
fi
2115
fi
2116
STRIP=$ac_cv_prog_STRIP
2117
if test -n "$STRIP"; then
2118
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2119
echo "${ECHO_T}$STRIP" >&6; }
2120
else
2121
  { echo "$as_me:$LINENO: result: no" >&5
2122
echo "${ECHO_T}no" >&6; }
2123
fi
2124
2125
2126
fi
2127
if test -z "$ac_cv_prog_STRIP"; then
2128
  ac_ct_STRIP=$STRIP
2129
  # Extract the first word of "strip", so it can be a program name with args.
2130
set dummy strip; ac_word=$2
2131
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2132
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2133
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2134
  echo $ECHO_N "(cached) $ECHO_C" >&6
2135
else
2136
  if test -n "$ac_ct_STRIP"; then
2137
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2138
else
2139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140
for as_dir in $PATH
2141
do
2142
  IFS=$as_save_IFS
2143
  test -z "$as_dir" && as_dir=.
2144
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2146
    ac_cv_prog_ac_ct_STRIP="strip"
2147
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148
    break 2
2149
  fi
2150
done
2151
done
2152
IFS=$as_save_IFS
2153
2154
fi
2155
fi
2156
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2157
if test -n "$ac_ct_STRIP"; then
2158
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2159
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2160
else
2161
  { echo "$as_me:$LINENO: result: no" >&5
2162
echo "${ECHO_T}no" >&6; }
2163
fi
2164
2165
  if test "x$ac_ct_STRIP" = x; then
2166
    STRIP=":"
2167
  else
2168
    case $cross_compiling:$ac_tool_warned in
2169
yes:)
2170
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2171
whose name does not start with the host triplet.  If you think this
2172
configuration is useful to you, please write to autoconf@gnu.org." >&5
2173
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2174
whose name does not start with the host triplet.  If you think this
2175
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2176
ac_tool_warned=yes ;;
2177
esac
2178
    STRIP=$ac_ct_STRIP
2179
  fi
2180
else
2181
  STRIP="$ac_cv_prog_STRIP"
2182
fi
2183
2184
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
2185
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1 by Martin Pitt
Import upstream version 20070402
2186
2187
# We need awk for the "check" target.  The system "awk" is bad on
2188
# some platforms.
2189
# Always define AMTAR for backward compatibility.
2190
2191
AMTAR=${AMTAR-"${am_missing_run}tar"}
2192
2193
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2194
2195
2196
2197
2198
2199
ac_config_headers="$ac_config_headers config.h"
2200
2201
2202
ac_ext=c
2203
ac_cpp='$CPP $CPPFLAGS'
2204
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2207
if test -n "$ac_tool_prefix"; then
2208
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2209
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2210
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2211
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2212
if test "${ac_cv_prog_CC+set}" = set; then
2213
  echo $ECHO_N "(cached) $ECHO_C" >&6
2214
else
2215
  if test -n "$CC"; then
2216
  ac_cv_prog_CC="$CC" # Let the user override the test.
2217
else
2218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219
for as_dir in $PATH
2220
do
2221
  IFS=$as_save_IFS
2222
  test -z "$as_dir" && as_dir=.
2223
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2225
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2226
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227
    break 2
2228
  fi
2229
done
2230
done
2231
IFS=$as_save_IFS
2232
2233
fi
2234
fi
2235
CC=$ac_cv_prog_CC
2236
if test -n "$CC"; then
2237
  { echo "$as_me:$LINENO: result: $CC" >&5
2238
echo "${ECHO_T}$CC" >&6; }
2239
else
2240
  { echo "$as_me:$LINENO: result: no" >&5
2241
echo "${ECHO_T}no" >&6; }
2242
fi
2243
2244
2245
fi
2246
if test -z "$ac_cv_prog_CC"; then
2247
  ac_ct_CC=$CC
2248
  # Extract the first word of "gcc", so it can be a program name with args.
2249
set dummy gcc; ac_word=$2
2250
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2251
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2252
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2253
  echo $ECHO_N "(cached) $ECHO_C" >&6
2254
else
2255
  if test -n "$ac_ct_CC"; then
2256
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2257
else
2258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259
for as_dir in $PATH
2260
do
2261
  IFS=$as_save_IFS
2262
  test -z "$as_dir" && as_dir=.
2263
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2264
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2265
    ac_cv_prog_ac_ct_CC="gcc"
2266
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267
    break 2
2268
  fi
2269
done
2270
done
2271
IFS=$as_save_IFS
2272
2273
fi
2274
fi
2275
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2276
if test -n "$ac_ct_CC"; then
2277
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2278
echo "${ECHO_T}$ac_ct_CC" >&6; }
2279
else
2280
  { echo "$as_me:$LINENO: result: no" >&5
2281
echo "${ECHO_T}no" >&6; }
2282
fi
2283
2284
  if test "x$ac_ct_CC" = x; then
2285
    CC=""
2286
  else
2287
    case $cross_compiling:$ac_tool_warned in
2288
yes:)
2289
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2290
whose name does not start with the host triplet.  If you think this
2291
configuration is useful to you, please write to autoconf@gnu.org." >&5
2292
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2293
whose name does not start with the host triplet.  If you think this
2294
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2295
ac_tool_warned=yes ;;
2296
esac
2297
    CC=$ac_ct_CC
2298
  fi
2299
else
2300
  CC="$ac_cv_prog_CC"
2301
fi
2302
2303
if test -z "$CC"; then
2304
          if test -n "$ac_tool_prefix"; then
2305
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2306
set dummy ${ac_tool_prefix}cc; ac_word=$2
2307
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2308
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309
if test "${ac_cv_prog_CC+set}" = set; then
2310
  echo $ECHO_N "(cached) $ECHO_C" >&6
2311
else
2312
  if test -n "$CC"; then
2313
  ac_cv_prog_CC="$CC" # Let the user override the test.
2314
else
2315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316
for as_dir in $PATH
2317
do
2318
  IFS=$as_save_IFS
2319
  test -z "$as_dir" && as_dir=.
2320
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2322
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2323
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324
    break 2
2325
  fi
2326
done
2327
done
2328
IFS=$as_save_IFS
2329
2330
fi
2331
fi
2332
CC=$ac_cv_prog_CC
2333
if test -n "$CC"; then
2334
  { echo "$as_me:$LINENO: result: $CC" >&5
2335
echo "${ECHO_T}$CC" >&6; }
2336
else
2337
  { echo "$as_me:$LINENO: result: no" >&5
2338
echo "${ECHO_T}no" >&6; }
2339
fi
2340
2341
2342
  fi
2343
fi
2344
if test -z "$CC"; then
2345
  # Extract the first word of "cc", so it can be a program name with args.
2346
set dummy cc; ac_word=$2
2347
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2348
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2349
if test "${ac_cv_prog_CC+set}" = set; then
2350
  echo $ECHO_N "(cached) $ECHO_C" >&6
2351
else
2352
  if test -n "$CC"; then
2353
  ac_cv_prog_CC="$CC" # Let the user override the test.
2354
else
2355
  ac_prog_rejected=no
2356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357
for as_dir in $PATH
2358
do
2359
  IFS=$as_save_IFS
2360
  test -z "$as_dir" && as_dir=.
2361
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2363
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2364
       ac_prog_rejected=yes
2365
       continue
2366
     fi
2367
    ac_cv_prog_CC="cc"
2368
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
    break 2
2370
  fi
2371
done
2372
done
2373
IFS=$as_save_IFS
2374
2375
if test $ac_prog_rejected = yes; then
2376
  # We found a bogon in the path, so make sure we never use it.
2377
  set dummy $ac_cv_prog_CC
2378
  shift
2379
  if test $# != 0; then
2380
    # We chose a different compiler from the bogus one.
2381
    # However, it has the same basename, so the bogon will be chosen
2382
    # first if we set CC to just the basename; use the full file name.
2383
    shift
2384
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2385
  fi
2386
fi
2387
fi
2388
fi
2389
CC=$ac_cv_prog_CC
2390
if test -n "$CC"; then
2391
  { echo "$as_me:$LINENO: result: $CC" >&5
2392
echo "${ECHO_T}$CC" >&6; }
2393
else
2394
  { echo "$as_me:$LINENO: result: no" >&5
2395
echo "${ECHO_T}no" >&6; }
2396
fi
2397
2398
2399
fi
2400
if test -z "$CC"; then
2401
  if test -n "$ac_tool_prefix"; then
2402
  for ac_prog in cl.exe
2403
  do
2404
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2405
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2406
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2407
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2408
if test "${ac_cv_prog_CC+set}" = set; then
2409
  echo $ECHO_N "(cached) $ECHO_C" >&6
2410
else
2411
  if test -n "$CC"; then
2412
  ac_cv_prog_CC="$CC" # Let the user override the test.
2413
else
2414
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415
for as_dir in $PATH
2416
do
2417
  IFS=$as_save_IFS
2418
  test -z "$as_dir" && as_dir=.
2419
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2420
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2421
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2422
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423
    break 2
2424
  fi
2425
done
2426
done
2427
IFS=$as_save_IFS
2428
2429
fi
2430
fi
2431
CC=$ac_cv_prog_CC
2432
if test -n "$CC"; then
2433
  { echo "$as_me:$LINENO: result: $CC" >&5
2434
echo "${ECHO_T}$CC" >&6; }
2435
else
2436
  { echo "$as_me:$LINENO: result: no" >&5
2437
echo "${ECHO_T}no" >&6; }
2438
fi
2439
2440
2441
    test -n "$CC" && break
2442
  done
2443
fi
2444
if test -z "$CC"; then
2445
  ac_ct_CC=$CC
2446
  for ac_prog in cl.exe
2447
do
2448
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2449
set dummy $ac_prog; ac_word=$2
2450
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2451
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2453
  echo $ECHO_N "(cached) $ECHO_C" >&6
2454
else
2455
  if test -n "$ac_ct_CC"; then
2456
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2457
else
2458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459
for as_dir in $PATH
2460
do
2461
  IFS=$as_save_IFS
2462
  test -z "$as_dir" && as_dir=.
2463
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
2464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Martin Pitt
Import upstream version 20070402
2465
    ac_cv_prog_ac_ct_CC="$ac_prog"
2466
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467
    break 2
2468
  fi
2469
done
2470
done
2471
IFS=$as_save_IFS
2472
2473
fi
2474
fi
2475
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2476
if test -n "$ac_ct_CC"; then
2477
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2478
echo "${ECHO_T}$ac_ct_CC" >&6; }
2479
else
2480
  { echo "$as_me:$LINENO: result: no" >&5
2481
echo "${ECHO_T}no" >&6; }
2482
fi
2483
2484
2485
  test -n "$ac_ct_CC" && break
2486
done
2487
2488
  if test "x$ac_ct_CC" = x; then
2489
    CC=""
2490
  else
2491
    case $cross_compiling:$ac_tool_warned in
2492
yes:)
2493
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2494
whose name does not start with the host triplet.  If you think this
2495
configuration is useful to you, please write to autoconf@gnu.org." >&5
2496
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2497
whose name does not start with the host triplet.  If you think this
2498
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2499
ac_tool_warned=yes ;;
2500
esac
2501
    CC=$ac_ct_CC
2502
  fi
2503
fi
2504
2505
fi
2506
2507
2508
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2509
See \`config.log' for more details." >&5
2510
echo "$as_me: error: no acceptable C compiler found in \$PATH
2511
See \`config.log' for more details." >&2;}
2512
   { (exit 1); exit 1; }; }
2513
2514
# Provide some information about the compiler.
2515
echo "$as_me:$LINENO: checking for C compiler version" >&5
2516
ac_compiler=`set X $ac_compile; echo $2`
2517
{ (ac_try="$ac_compiler --version >&5"
2518
case "(($ac_try" in
2519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520
  *) ac_try_echo=$ac_try;;
2521
esac
2522
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523
  (eval "$ac_compiler --version >&5") 2>&5
2524
  ac_status=$?
2525
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526
  (exit $ac_status); }
2527
{ (ac_try="$ac_compiler -v >&5"
2528
case "(($ac_try" in
2529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530
  *) ac_try_echo=$ac_try;;
2531
esac
2532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533
  (eval "$ac_compiler -v >&5") 2>&5
2534
  ac_status=$?
2535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536
  (exit $ac_status); }
2537
{ (ac_try="$ac_compiler -V >&5"
2538
case "(($ac_try" in
2539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540
  *) ac_try_echo=$ac_try;;
2541
esac
2542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543
  (eval "$ac_compiler -V >&5") 2>&5
2544
  ac_status=$?
2545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
  (exit $ac_status); }
2547
2548
cat >conftest.$ac_ext <<_ACEOF
2549
/* confdefs.h.  */
2550
_ACEOF
2551
cat confdefs.h >>conftest.$ac_ext
2552
cat >>conftest.$ac_ext <<_ACEOF
2553
/* end confdefs.h.  */
2554
2555
int
2556
main ()
2557
{
2558
2559
  ;
2560
  return 0;
2561
}
2562
_ACEOF
2563
ac_clean_files_save=$ac_clean_files
2564
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2565
# Try to create an executable without -o first, disregard a.out.
2566
# It will help us diagnose broken compilers, and finding out an intuition
2567
# of exeext.
2568
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2569
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2570
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2571
#
2572
# List of possible output files, starting from the most likely.
2573
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2574
# only as a last resort.  b.out is created by i960 compilers.
2575
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2576
#
2577
# The IRIX 6 linker writes into existing files which may not be
2578
# executable, retaining their permissions.  Remove them first so a
2579
# subsequent execution test works.
2580
ac_rmfiles=
2581
for ac_file in $ac_files
2582
do
2583
  case $ac_file in
2584
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2585
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2586
  esac
2587
done
2588
rm -f $ac_rmfiles
2589
2590
if { (ac_try="$ac_link_default"
2591
case "(($ac_try" in
2592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593
  *) ac_try_echo=$ac_try;;
2594
esac
2595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596
  (eval "$ac_link_default") 2>&5
2597
  ac_status=$?
2598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
  (exit $ac_status); }; then
2600
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2601
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2602
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2603
# so that the user can short-circuit this test for compilers unknown to
2604
# Autoconf.
1.1.5 by Martin Pitt
Import upstream version 20080215
2605
for ac_file in $ac_files ''
1 by Martin Pitt
Import upstream version 20070402
2606
do
2607
  test -f "$ac_file" || continue
2608
  case $ac_file in
2609
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2610
	;;
2611
    [ab].out )
2612
	# We found the default executable, but exeext='' is most
2613
	# certainly right.
2614
	break;;
2615
    *.* )
2616
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2617
	then :; else
2618
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2619
	fi
2620
	# We set ac_cv_exeext here because the later test for it is not
2621
	# safe: cross compilers may not add the suffix if given an `-o'
2622
	# argument, so we may need to know it at that point already.
2623
	# Even if this section looks crufty: it has the advantage of
2624
	# actually working.
2625
	break;;
2626
    * )
2627
	break;;
2628
  esac
2629
done
2630
test "$ac_cv_exeext" = no && ac_cv_exeext=
2631
2632
else
1.1.5 by Martin Pitt
Import upstream version 20080215
2633
  ac_file=''
2634
fi
2635
2636
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2637
echo "${ECHO_T}$ac_file" >&6; }
2638
if test -z "$ac_file"; then
1 by Martin Pitt
Import upstream version 20070402
2639
  echo "$as_me: failed program was:" >&5
2640
sed 's/^/| /' conftest.$ac_ext >&5
2641
2642
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2643
See \`config.log' for more details." >&5
2644
echo "$as_me: error: C compiler cannot create executables
2645
See \`config.log' for more details." >&2;}
2646
   { (exit 77); exit 77; }; }
2647
fi
2648
2649
ac_exeext=$ac_cv_exeext
2650
2651
# Check that the compiler produces executables we can run.  If not, either
2652
# the compiler is broken, or we cross compile.
2653
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2654
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2655
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2656
# If not cross compiling, check that we can run a simple program.
2657
if test "$cross_compiling" != yes; then
2658
  if { ac_try='./$ac_file'
2659
  { (case "(($ac_try" in
2660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661
  *) ac_try_echo=$ac_try;;
2662
esac
2663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664
  (eval "$ac_try") 2>&5
2665
  ac_status=$?
2666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667
  (exit $ac_status); }; }; then
2668
    cross_compiling=no
2669
  else
2670
    if test "$cross_compiling" = maybe; then
2671
	cross_compiling=yes
2672
    else
2673
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2674
If you meant to cross compile, use \`--host'.
2675
See \`config.log' for more details." >&5
2676
echo "$as_me: error: cannot run C compiled programs.
2677
If you meant to cross compile, use \`--host'.
2678
See \`config.log' for more details." >&2;}
2679
   { (exit 1); exit 1; }; }
2680
    fi
2681
  fi
2682
fi
2683
{ echo "$as_me:$LINENO: result: yes" >&5
2684
echo "${ECHO_T}yes" >&6; }
2685
2686
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2687
ac_clean_files=$ac_clean_files_save
2688
# Check that the compiler produces executables we can run.  If not, either
2689
# the compiler is broken, or we cross compile.
2690
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2691
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2692
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2693
echo "${ECHO_T}$cross_compiling" >&6; }
2694
2695
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2696
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2697
if { (ac_try="$ac_link"
2698
case "(($ac_try" in
2699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700
  *) ac_try_echo=$ac_try;;
2701
esac
2702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703
  (eval "$ac_link") 2>&5
2704
  ac_status=$?
2705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706
  (exit $ac_status); }; then
2707
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2708
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2709
# work properly (i.e., refer to `conftest.exe'), while it won't with
2710
# `rm'.
2711
for ac_file in conftest.exe conftest conftest.*; do
2712
  test -f "$ac_file" || continue
2713
  case $ac_file in
2714
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2715
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716
	  break;;
2717
    * ) break;;
2718
  esac
2719
done
2720
else
2721
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2722
See \`config.log' for more details." >&5
2723
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2724
See \`config.log' for more details." >&2;}
2725
   { (exit 1); exit 1; }; }
2726
fi
2727
2728
rm -f conftest$ac_cv_exeext
2729
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2730
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2731
2732
rm -f conftest.$ac_ext
2733
EXEEXT=$ac_cv_exeext
2734
ac_exeext=$EXEEXT
2735
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2736
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2737
if test "${ac_cv_objext+set}" = set; then
2738
  echo $ECHO_N "(cached) $ECHO_C" >&6
2739
else
2740
  cat >conftest.$ac_ext <<_ACEOF
2741
/* confdefs.h.  */
2742
_ACEOF
2743
cat confdefs.h >>conftest.$ac_ext
2744
cat >>conftest.$ac_ext <<_ACEOF
2745
/* end confdefs.h.  */
2746
2747
int
2748
main ()
2749
{
2750
2751
  ;
2752
  return 0;
2753
}
2754
_ACEOF
2755
rm -f conftest.o conftest.obj
2756
if { (ac_try="$ac_compile"
2757
case "(($ac_try" in
2758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759
  *) ac_try_echo=$ac_try;;
2760
esac
2761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762
  (eval "$ac_compile") 2>&5
2763
  ac_status=$?
2764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
  (exit $ac_status); }; then
2766
  for ac_file in conftest.o conftest.obj conftest.*; do
2767
  test -f "$ac_file" || continue;
2768
  case $ac_file in
2769
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2770
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2771
       break;;
2772
  esac
2773
done
2774
else
2775
  echo "$as_me: failed program was:" >&5
2776
sed 's/^/| /' conftest.$ac_ext >&5
2777
2778
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2779
See \`config.log' for more details." >&5
2780
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2781
See \`config.log' for more details." >&2;}
2782
   { (exit 1); exit 1; }; }
2783
fi
2784
2785
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2786
fi
2787
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2788
echo "${ECHO_T}$ac_cv_objext" >&6; }
2789
OBJEXT=$ac_cv_objext
2790
ac_objext=$OBJEXT
2791
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2792
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2793
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2794
  echo $ECHO_N "(cached) $ECHO_C" >&6
2795
else
2796
  cat >conftest.$ac_ext <<_ACEOF
2797
/* confdefs.h.  */
2798
_ACEOF
2799
cat confdefs.h >>conftest.$ac_ext
2800
cat >>conftest.$ac_ext <<_ACEOF
2801
/* end confdefs.h.  */
2802
2803
int
2804
main ()
2805
{
2806
#ifndef __GNUC__
2807
       choke me
2808
#endif
2809
2810
  ;
2811
  return 0;
2812
}
2813
_ACEOF
2814
rm -f conftest.$ac_objext
2815
if { (ac_try="$ac_compile"
2816
case "(($ac_try" in
2817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818
  *) ac_try_echo=$ac_try;;
2819
esac
2820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2821
  (eval "$ac_compile") 2>conftest.er1
2822
  ac_status=$?
2823
  grep -v '^ *+' conftest.er1 >conftest.err
2824
  rm -f conftest.er1
2825
  cat conftest.err >&5
2826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.5 by Martin Pitt
Import upstream version 20080215
2827
  (exit $ac_status); } && {
2828
	 test -z "$ac_c_werror_flag" ||
2829
	 test ! -s conftest.err
2830
       } && test -s conftest.$ac_objext; then
1 by Martin Pitt
Import upstream version 20070402
2831
  ac_compiler_gnu=yes
2832
else
2833
  echo "$as_me: failed program was:" >&5
2834
sed 's/^/| /' conftest.$ac_ext >&5
2835
2836
	ac_compiler_gnu=no
2837
fi
2838
2839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2841
2842
fi
2843
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2844
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2845
GCC=`test $ac_compiler_gnu = yes && echo yes`
2846
ac_test_CFLAGS=${CFLAGS+set}
2847
ac_save_CFLAGS=$CFLAGS
2848
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2849
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2850
if test "${ac_cv_prog_cc_g+set}" = set; then
2851
  echo $ECHO_N "(cached) $ECHO_C" >&6
2852
else
2853
  ac_save_c_werror_flag=$ac_c_werror_flag
2854
   ac_c_werror_flag=yes
2855
   ac_cv_prog_cc_g=no
2856
   CFLAGS="-g"
2857
   cat >conftest.$ac_ext <<_ACEOF
2858
/* confdefs.h.  */
2859
_ACEOF
2860
cat confdefs.h >>conftest.$ac_ext
2861
cat >>conftest.$ac_ext <<_ACEOF
2862
/* end confdefs.h.  */
2863
2864
int
2865
main ()
2866
{
2867
2868
  ;
2869
  return 0;
2870
}
2871
_ACEOF
2872
rm -f conftest.$ac_objext
2873
if { (ac_try="$ac_compile"
2874
case "(($ac_try" in
2875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876
  *) ac_try_echo=$ac_try;;
2877
esac
2878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879
  (eval "$ac_compile") 2>conftest.er1
2880
  ac_status=$?
2881
  grep -v '^ *+' conftest.er1 >conftest.err
2882
  rm -f conftest.er1
2883
  cat conftest.err >&5
2884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.5 by Martin Pitt
Import upstream version 20080215
2885
  (exit $ac_status); } && {
2886
	 test -z "$ac_c_werror_flag" ||
2887
	 test ! -s conftest.err
2888
       } && test -s conftest.$ac_objext; then
1 by Martin Pitt
Import upstream version 20070402
2889
  ac_cv_prog_cc_g=yes
2890
else
2891
  echo "$as_me: failed program was:" >&5
2892
sed 's/^/| /' conftest.$ac_ext >&5
2893
2894
	CFLAGS=""
2895
      cat >conftest.$ac_ext <<_ACEOF
2896
/* confdefs.h.  */
2897
_ACEOF
2898
cat confdefs.h >>conftest.$ac_ext
2899
cat >>conftest.$ac_ext <<_ACEOF
2900
/* end confdefs.h.  */
2901
2902
int
2903
main ()
2904
{
2905
2906
  ;
2907
  return 0;
2908
}
2909
_ACEOF
2910
rm -f conftest.$ac_objext
2911
if { (ac_try="$ac_compile"
2912
case "(($ac_try" in
2913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914
  *) ac_try_echo=$ac_try;;
2915
esac
2916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917
  (eval "$ac_compile") 2>conftest.er1
2918
  ac_status=$?
2919
  grep -v '^ *+' conftest.er1 >conftest.err
2920
  rm -f conftest.er1
2921
  cat conftest.err >&5
2922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.5 by Martin Pitt
Import upstream version 20080215
2923
  (exit $ac_status); } && {
2924
	 test -z "$ac_c_werror_flag" ||
2925
	 test ! -s conftest.err
2926
       } && test -s conftest.$ac_objext; then
1 by Martin Pitt
Import upstream version 20070402
2927
  :
2928
else
2929
  echo "$as_me: failed program was:" >&5
2930
sed 's/^/| /' conftest.$ac_ext >&5
2931
2932
	ac_c_werror_flag=$ac_save_c_werror_flag
2933
	 CFLAGS="-g"
2934
	 cat >conftest.$ac_ext <<_ACEOF
2935
/* confdefs.h.  */
2936
_ACEOF
2937
cat confdefs.h >>conftest.$ac_ext
2938
cat >>conftest.$ac_ext <<_ACEOF
2939
/* end confdefs.h.  */
2940
2941
int
2942
main ()
2943
{
2944
2945
  ;
2946
  return 0;
2947
}
2948
_ACEOF
2949
rm -f conftest.$ac_objext
2950
if { (ac_try="$ac_compile"
2951
case "(($ac_try" in
2952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953
  *) ac_try_echo=$ac_try;;
2954
esac
2955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956
  (eval "$ac_compile") 2>conftest.er1
2957
  ac_status=$?
2958
  grep -v '^ *+' conftest.er1 >conftest.err
2959
  rm -f conftest.er1
2960
  cat conftest.err >&5
2961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.5 by Martin Pitt
Import upstream version 20080215
2962
  (exit $ac_status); } && {
2963
	 test -z "$ac_c_werror_flag" ||
2964
	 test ! -s conftest.err
2965
       } && test -s conftest.$ac_objext; then
1 by Martin Pitt
Import upstream version 20070402
2966
  ac_cv_prog_cc_g=yes
2967
else
2968
  echo "$as_me: failed program was:" >&5
2969
sed 's/^/| /' conftest.$ac_ext >&5
2970
2971
2972
fi
2973
2974
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975
fi
2976
2977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978
fi
2979
2980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981
   ac_c_werror_flag=$ac_save_c_werror_flag
2982
fi
2983
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2984
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2985
if test "$ac_test_CFLAGS" = set; then
2986
  CFLAGS=$ac_save_CFLAGS
2987
elif test $ac_cv_prog_cc_g = yes; then
2988
  if test "$GCC" = yes; then
2989
    CFLAGS="-g -O2"
2990
  else
2991
    CFLAGS="-g"
2992
  fi
2993
else
2994
  if test "$GCC" = yes; then
2995
    CFLAGS="-O2"
2996
  else
2997
    CFLAGS=
2998
  fi
2999
fi
3000
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3001
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3002
if test "${ac_cv_prog_cc_c89+set}" = set; then
3003
  echo $ECHO_N "(cached) $ECHO_C" >&6
3004
else
3005
  ac_cv_prog_cc_c89=no
3006
ac_save_CC=$CC
3007
cat >conftest.$ac_ext <<_ACEOF
3008
/* confdefs.h.  */
3009
_ACEOF
3010
cat confdefs.h >>conftest.$ac_ext
3011
cat >>conftest.$ac_ext <<_ACEOF
3012
/* end confdefs.h.  */
3013
#include <stdarg.h>
3014
#include <stdio.h>
3015
#include <sys/types.h>
3016
#include <sys/stat.h>
3017
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3018
struct buf { int x; };
3019
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3020
static char *e (p, i)
3021
     char **p;
3022
     int i;
3023
{
3024
  return p[i];
3025
}
3026
static char *f (char * (*g) (char **, int), char **p, ...)
3027
{
3028
  char *s;
3029
  va_list v;
3030
  va_start (v,p);
3031
  s = g (p, va_arg (v,int));
3032
  va_end (v);
3033
  return s;
3034
}
3035
3036
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3037
   function prototypes and stuff, but not '\xHH' hex character constants.
3038
   These don't provoke an error unfortunately, instead are silently treated
3039
   as 'x'.  The following induces an error, until -std is added to get
3040
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3041
   array size at least.  It's necessary to write '\x00'==0 to get something
3042
   that's true only with -std.  */
3043
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3044
3045
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3046
   inside strings and character constants.  */
3047
#define FOO(x) 'x'
3048
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3049
3050
int test (int i, double x);
3051
struct s1 {int (*f) (int a);};
3052
struct s2 {int (*f) (double a);};
3053
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3054
int argc;
3055
char **argv;
3056
int
3057
main ()
3058
{
3059
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3060
  ;
3061
  return 0;
3062
}
3063
_ACEOF
3064
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3065
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3066
do
3067
  CC="$ac_save_CC $ac_arg"
3068
  rm -f conftest.$ac_objext
3069
if { (ac_try="$ac_compile"
3070
case "(($ac_try" in
3071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072
  *) ac_try_echo=$ac_try;;
3073
esac
3074
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3075
  (eval "$ac_compile") 2>conftest.er1
3076
  ac_status=$?
3077
  grep -v '^ *+' conftest.er1 >conftest.err
3078
  rm -f conftest.er1
3079
  cat conftest.err >&5
3080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.5 by Martin Pitt
Import upstream version 20080215
3081
  (exit $ac_status); } && {
3082
	 test -z "$ac_c_werror_flag" ||
3083
	 test ! -s conftest.err
3084
       } && test -s conftest.$ac_objext; then
1 by Martin Pitt
Import upstream version 20070402
3085
  ac_cv_prog_cc_c89=$ac_arg
3086
else
3087
  echo "$as_me: failed program was:" >&5
3088
sed 's/^/| /' conftest.$ac_ext >&5
3089
3090
3091
fi
3092
3093
rm -f core conftest.err conftest.$ac_objext
3094
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3095
done
3096
rm -f conftest.$ac_ext
3097
CC=$ac_save_CC
3098
3099
fi
3100
# AC_CACHE_VAL
3101
case "x$ac_cv_prog_cc_c89" in
3102
  x)
3103
    { echo "$as_me:$LINENO: result: none needed" >&5
3104
echo "${ECHO_T}none needed" >&6; } ;;
3105
  xno)
3106
    { echo "$as_me:$LINENO: result: unsupported" >&5
3107
echo "${ECHO_T}unsupported" >&6; } ;;
3108
  *)
3109
    CC="$CC $ac_cv_prog_cc_c89"
3110
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3111
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3112
esac
3113
3114
3115
ac_ext=c
3116
ac_cpp='$CPP $CPPFLAGS'
3117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120
DEPDIR="${am__leading_dot}deps"
3121
3122
ac_config_commands="$ac_config_commands depfiles"
3123
3124
3125
am_make=${MAKE-make}
3126
cat > confinc << 'END'
3127
am__doit:
3128
	@echo done
3129
.PHONY: am__doit
3130
END
3131
# If we don't find an include directive, just comment out the code.
3132
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3133
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3134
am__include="#"
3135
am__quote=
3136
_am_result=none
3137
# First try GNU make style include.
3138
echo "include confinc" > confmf
3139
# We grep out `Entering directory' and `Leaving directory'
3140
# messages which can occur if `w' ends up in MAKEFLAGS.
3141
# In particular we don't look at `^make:' because GNU make might
3142
# be invoked under some other name (usually "gmake"), in which
3143
# case it prints its new name instead of `make'.
3144
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3145
   am__include=include
3146
   am__quote=
3147
   _am_result=GNU
3148
fi
3149
# Now try BSD make style include.
3150
if test "$am__include" = "#"; then
3151
   echo '.include "confinc"' > confmf
3152
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3153
      am__include=.include
3154
      am__quote="\""
3155
      _am_result=BSD
3156
   fi
3157
fi
3158
3159
3160
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3161
echo "${ECHO_T}$_am_result" >&6; }
3162
rm -f confinc confmf
3163
3164
# Check whether --enable-dependency-tracking was given.
3165
if test "${enable_dependency_tracking+set}" = set; then
3166
  enableval=$enable_dependency_tracking;
3167
fi
3168
3169
if test "x$enable_dependency_tracking" != xno; then
3170
  am_depcomp="$ac_aux_dir/depcomp"
3171
  AMDEPBACKSLASH='\'
3172
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
3173
 if test "x$enable_dependency_tracking" != xno; then
1 by Martin Pitt
Import upstream version 20070402
3174
  AMDEP_TRUE=
3175
  AMDEP_FALSE='#'
3176
else
3177
  AMDEP_TRUE='#'
3178
  AMDEP_FALSE=
3179
fi
3180
3181
3182
3183
depcc="$CC"   am_compiler_list=
3184
3185
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3186
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3187
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3188
  echo $ECHO_N "(cached) $ECHO_C" >&6
3189
else
3190
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3191
  # We make a subdir and do the tests there.  Otherwise we can end up
3192
  # making bogus files that we don't know about and never remove.  For
3193
  # instance it was reported that on HP-UX the gcc test will end up
3194
  # making a dummy file named `D' -- because `-MD' means `put the output
3195
  # in D'.
3196
  mkdir conftest.dir
3197
  # Copy depcomp to subdir because otherwise we won't find it if we're
3198
  # using a relative directory.
3199
  cp "$am_depcomp" conftest.dir
3200
  cd conftest.dir
3201
  # We will build objects and dependencies in a subdirectory because
3202
  # it helps to detect inapplicable dependency modes.  For instance
3203
  # both Tru64's cc and ICC support -MD to output dependencies as a
3204
  # side effect of compilation, but ICC will put the dependencies in
3205
  # the current directory while Tru64 will put them in the object
3206
  # directory.
3207
  mkdir sub
3208
3209
  am_cv_CC_dependencies_compiler_type=none
3210
  if test "$am_compiler_list" = ""; then
3211
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3212
  fi
3213
  for depmode in $am_compiler_list; do
3214
    # Setup a source with many dependencies, because some compilers
3215
    # like to wrap large dependency lists on column 80 (with \), and
3216
    # we should not choose a depcomp mode which is confused by this.
3217
    #
3218
    # We need to recreate these files for each test, as the compiler may
3219
    # overwrite some of them when testing with obscure command lines.
3220
    # This happens at least with the AIX C compiler.
3221
    : > sub/conftest.c
3222
    for i in 1 2 3 4 5 6; do
3223
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3224
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3225
      # Solaris 8's {/usr,}/bin/sh.
3226
      touch sub/conftst$i.h
3227
    done
3228
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3229
3230
    case $depmode in
3231
    nosideeffect)
3232
      # after this tag, mechanisms are not by side-effect, so they'll
3233
      # only be used when explicitly requested
3234
      if test "x$enable_dependency_tracking" = xyes; then
3235
	continue
3236
      else
3237
	break
3238
      fi
3239
      ;;
3240
    none) break ;;
3241
    esac
3242
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3243
    # mode.  It turns out that the SunPro C++ compiler does not properly
3244
    # handle `-M -o', and we need to detect this.
3245
    if depmode=$depmode \
3246
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3247
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3248
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3249
         >/dev/null 2>conftest.err &&
1.1.5 by Martin Pitt
Import upstream version 20080215
3250
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1 by Martin Pitt
Import upstream version 20070402
3251
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3252
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3253
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3254
      # icc doesn't choke on unknown options, it will just issue warnings
3255
      # or remarks (even with -Werror).  So we grep stderr for any message
3256
      # that says an option was ignored or not supported.
3257
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3258
      #   icc: Command line warning: ignoring option '-M'; no argument required
3259
      # The diagnosis changed in icc 8.0:
3260
      #   icc: Command line remark: option '-MP' not supported
3261
      if (grep 'ignoring option' conftest.err ||
3262
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3263
        am_cv_CC_dependencies_compiler_type=$depmode
3264
        break
3265
      fi
3266
    fi
3267
  done
3268
3269
  cd ..
3270
  rm -rf conftest.dir
3271
else
3272
  am_cv_CC_dependencies_compiler_type=none
3273
fi
3274
3275
fi
3276
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3277
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3278
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3279
1.1.5 by Martin Pitt
Import upstream version 20080215
3280
 if
1 by Martin Pitt
Import upstream version 20070402
3281
  test "x$enable_dependency_tracking" != xno \
3282
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3283
  am__fastdepCC_TRUE=
3284
  am__fastdepCC_FALSE='#'
3285
else
3286
  am__fastdepCC_TRUE='#'
3287
  am__fastdepCC_FALSE=
3288
fi
3289
3290
3291
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3292
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3293
LN_S=$as_ln_s
3294
if test "$LN_S" = "ln -s"; then
3295
  { echo "$as_me:$LINENO: result: yes" >&5
3296
echo "${ECHO_T}yes" >&6; }
3297
else
3298
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3299
echo "${ECHO_T}no, using $LN_S" >&6; }
3300
fi
3301
3302
1.1.3 by Martin Pitt
Import upstream version 20071030
3303
3304
3305
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3306
	if test -n "$ac_tool_prefix"; then
3307
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3308
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3309
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3311
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3312
  echo $ECHO_N "(cached) $ECHO_C" >&6
3313
else
3314
  case $PKG_CONFIG in
3315
  [\\/]* | ?:[\\/]*)
3316
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3317
  ;;
3318
  *)
3319
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320
for as_dir in $PATH
3321
do
3322
  IFS=$as_save_IFS
3323
  test -z "$as_dir" && as_dir=.
3324
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
3325
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.3 by Martin Pitt
Import upstream version 20071030
3326
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3327
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3328
    break 2
3329
  fi
3330
done
3331
done
3332
IFS=$as_save_IFS
3333
3334
  ;;
3335
esac
3336
fi
3337
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3338
if test -n "$PKG_CONFIG"; then
3339
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3340
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3341
else
3342
  { echo "$as_me:$LINENO: result: no" >&5
3343
echo "${ECHO_T}no" >&6; }
3344
fi
3345
3346
3347
fi
3348
if test -z "$ac_cv_path_PKG_CONFIG"; then
3349
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3350
  # Extract the first word of "pkg-config", so it can be a program name with args.
3351
set dummy pkg-config; ac_word=$2
3352
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3354
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3355
  echo $ECHO_N "(cached) $ECHO_C" >&6
3356
else
3357
  case $ac_pt_PKG_CONFIG in
3358
  [\\/]* | ?:[\\/]*)
3359
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3360
  ;;
3361
  *)
3362
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363
for as_dir in $PATH
3364
do
3365
  IFS=$as_save_IFS
3366
  test -z "$as_dir" && as_dir=.
3367
  for ac_exec_ext in '' $ac_executable_extensions; do
1.1.5 by Martin Pitt
Import upstream version 20080215
3368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.3 by Martin Pitt
Import upstream version 20071030
3369
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3370
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3371
    break 2
3372
  fi
3373
done
3374
done
3375
IFS=$as_save_IFS
3376
3377
  ;;
3378
esac
3379
fi
3380
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3381
if test -n "$ac_pt_PKG_CONFIG"; then
3382
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3383
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3384
else
3385
  { echo "$as_me:$LINENO: result: no" >&5
3386
echo "${ECHO_T}no" >&6; }
3387
fi
3388
3389
  if test "x$ac_pt_PKG_CONFIG" = x; then
3390
    PKG_CONFIG=""
3391
  else
3392
    case $cross_compiling:$ac_tool_warned in
3393
yes:)
3394
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3395
whose name does not start with the host triplet.  If you think this
3396
configuration is useful to you, please write to autoconf@gnu.org." >&5
3397
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3398
whose name does not start with the host triplet.  If you think this
3399
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3400
ac_tool_warned=yes ;;
3401
esac
3402
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3403
  fi
3404
else
3405
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3406
fi
3407
3408
fi
3409
if test -n "$PKG_CONFIG"; then
3410
	_pkg_min_version=0.9.0
3411
	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3412
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3413
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3414
		{ echo "$as_me:$LINENO: result: yes" >&5
3415
echo "${ECHO_T}yes" >&6; }
3416
	else
3417
		{ echo "$as_me:$LINENO: result: no" >&5
3418
echo "${ECHO_T}no" >&6; }
3419
		PKG_CONFIG=""
3420
	fi
3421
3422
fi
3423
3424
if ! $PKG_CONFIG --atleast-version 0.5.10 hal; then
1.1.4 by Martin Pitt
Import upstream version 20071212
3425
   { echo "$as_me:$LINENO: WARNING: hal 0.5.10 or later is required for this version of hal-info" >&5
3426
echo "$as_me: WARNING: hal 0.5.10 or later is required for this version of hal-info" >&2;}
3427
   WRONG_HAL_VERSION=yes
3428
else
3429
   WRONG_HAL_VERSION=no
1.1.3 by Martin Pitt
Import upstream version 20071030
3430
fi
3431
1 by Martin Pitt
Import upstream version 20070402
3432
# Check whether --enable-recall was given.
3433
if test "${enable_recall+set}" = set; then
3434
  enableval=$enable_recall; enable_recall=$enableval
3435
else
3436
  enable_recall=yes
3437
fi
3438
1.1.5 by Martin Pitt
Import upstream version 20080215
3439
 if test x$enable_recall == xyes; then
1 by Martin Pitt
Import upstream version 20070402
3440
  BUILD_RECALL_TRUE=
3441
  BUILD_RECALL_FALSE='#'
3442
else
3443
  BUILD_RECALL_TRUE='#'
3444
  BUILD_RECALL_FALSE=
3445
fi
3446
3447
3448
# Check whether --enable-video was given.
3449
if test "${enable_video+set}" = set; then
3450
  enableval=$enable_video; enable_video=$enableval
3451
else
3452
  enable_video=yes
3453
fi
3454
1.1.5 by Martin Pitt
Import upstream version 20080215
3455
 if test x$enable_video == xyes; then
1 by Martin Pitt
Import upstream version 20070402
3456
  BUILD_VIDEO_TRUE=
3457
  BUILD_VIDEO_FALSE='#'
3458
else
3459
  BUILD_VIDEO_TRUE='#'
3460
  BUILD_VIDEO_FALSE=
3461
fi
3462
3463
1.1.2 by Michael Biebl
Import upstream version 20070618
3464
# Check whether --enable-keymaps was given.
3465
if test "${enable_keymaps+set}" = set; then
3466
  enableval=$enable_keymaps; enable_keymaps=$enableval
3467
else
3468
  enable_keymaps=yes
3469
fi
3470
1.1.5 by Martin Pitt
Import upstream version 20080215
3471
 if test x$enable_keymaps == xyes; then
1.1.2 by Michael Biebl
Import upstream version 20070618
3472
  BUILD_KEYMAPS_TRUE=
3473
  BUILD_KEYMAPS_FALSE='#'
3474
else
3475
  BUILD_KEYMAPS_TRUE='#'
3476
  BUILD_KEYMAPS_FALSE=
3477
fi
3478
3479
1.1.3 by Martin Pitt
Import upstream version 20071030
3480
# Check whether --enable-killswitch_dell_wlan was given.
3481
if test "${enable_killswitch_dell_wlan+set}" = set; then
3482
  enableval=$enable_killswitch_dell_wlan; enable_killswitch_dell_wlan=$enableval
3483
else
3484
  enable_killswitch_dell_wlan=yes
3485
fi
3486
1.1.5 by Martin Pitt
Import upstream version 20080215
3487
 if test x$enable_killswitch_dell_wlan == xyes; then
1.1.3 by Martin Pitt
Import upstream version 20071030
3488
  BUILD_KILLSWITCH_DELL_WLAN_TRUE=
3489
  BUILD_KILLSWITCH_DELL_WLAN_FALSE='#'
3490
else
3491
  BUILD_KILLSWITCH_DELL_WLAN_TRUE='#'
3492
  BUILD_KILLSWITCH_DELL_WLAN_FALSE=
3493
fi
3494
3495
3496
# Check whether --enable-killswitch_dell_bluetooth was given.
3497
if test "${enable_killswitch_dell_bluetooth+set}" = set; then
3498
  enableval=$enable_killswitch_dell_bluetooth; enable_killswitch_dell_bluetooth=$enableval
3499
else
3500
  enable_killswitch_dell_bluetooth=yes
3501
fi
3502
1.1.5 by Martin Pitt
Import upstream version 20080215
3503
 if test x$enable_killswitch_dell_bluetooth == xyes; then
1.1.3 by Martin Pitt
Import upstream version 20071030
3504
  BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE=
3505
  BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE='#'
3506
else
3507
  BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE='#'
3508
  BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE=
3509
fi
3510
3511
1.1.5 by Martin Pitt
Import upstream version 20080215
3512
# Check whether --enable-killswitch_dell_wwan was given.
3513
if test "${enable_killswitch_dell_wwan+set}" = set; then
3514
  enableval=$enable_killswitch_dell_wwan; enable_killswitch_dell_wwan=$enableval
3515
else
3516
  enable_killswitch_dell_wwan=yes
3517
fi
3518
3519
 if test x$enable_killswitch_dell_wwan == xyes; then
3520
  BUILD_KILLSWITCH_DELL_WWAN_TRUE=
3521
  BUILD_KILLSWITCH_DELL_WWAN_FALSE='#'
3522
else
3523
  BUILD_KILLSWITCH_DELL_WWAN_TRUE='#'
3524
  BUILD_KILLSWITCH_DELL_WWAN_FALSE=
3525
fi
3526
3527
1.1.3 by Martin Pitt
Import upstream version 20071030
3528
# Check whether --enable-killswitch_sony_bluetooth was given.
3529
if test "${enable_killswitch_sony_bluetooth+set}" = set; then
3530
  enableval=$enable_killswitch_sony_bluetooth; enable_killswitch_sony_bluetooth=$enableval
3531
else
3532
  enable_killswitch_sony_bluetooth=yes
3533
fi
3534
1.1.5 by Martin Pitt
Import upstream version 20080215
3535
 if test x$enable_killswitch_sony_bluetooth == xyes; then
1.1.3 by Martin Pitt
Import upstream version 20071030
3536
  BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE=
3537
  BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE='#'
3538
else
3539
  BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE='#'
3540
  BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE=
3541
fi
3542
3543
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
3544
# Check whether --enable-killswitch_thinkpad_bluetooth was given.
3545
if test "${enable_killswitch_thinkpad_bluetooth+set}" = set; then
3546
  enableval=$enable_killswitch_thinkpad_bluetooth; enable_killswitch_thinkpad_bluetooth=$enableval
3547
else
3548
  enable_killswitch_thinkpad_bluetooth=yes
3549
fi
3550
3551
 if test x$enable_killswitch_thinkpad_bluetooth == xyes; then
3552
  BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE=
3553
  BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE='#'
3554
else
3555
  BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE='#'
3556
  BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE=
3557
fi
3558
3559
1.1.3 by Martin Pitt
Import upstream version 20071030
3560
# Check whether --enable-killswitch_ipw_wlan was given.
3561
if test "${enable_killswitch_ipw_wlan+set}" = set; then
3562
  enableval=$enable_killswitch_ipw_wlan; enable_killswitch_ipw_wlan=$enableval
3563
else
3564
  enable_killswitch_ipw_wlan=yes
3565
fi
3566
1.1.5 by Martin Pitt
Import upstream version 20080215
3567
 if test x$enable_killswitch_ipw_wlan == xyes; then
1.1.3 by Martin Pitt
Import upstream version 20071030
3568
  BUILD_KILLSWITCH_IPW_WLAN_TRUE=
3569
  BUILD_KILLSWITCH_IPW_WLAN_FALSE='#'
3570
else
3571
  BUILD_KILLSWITCH_IPW_WLAN_TRUE='#'
3572
  BUILD_KILLSWITCH_IPW_WLAN_FALSE=
3573
fi
3574
3575
3576
ac_config_files="$ac_config_files Makefile fdi/Makefile fdi/information/Makefile fdi/information/10freedesktop/Makefile fdi/information/20thirdparty/Makefile fdi/preprobe/Makefile fdi/preprobe/10osvendor/Makefile fdi/preprobe/20thirdparty/Makefile tools/Makefile"
1 by Martin Pitt
Import upstream version 20070402
3577
3578
cat >confcache <<\_ACEOF
3579
# This file is a shell script that caches the results of configure
3580
# tests run on this system so they can be shared between configure
3581
# scripts and configure runs, see configure's option --config-cache.
3582
# It is not useful on other systems.  If it contains results you don't
3583
# want to keep, you may remove or edit it.
3584
#
3585
# config.status only pays attention to the cache file if you give it
3586
# the --recheck option to rerun configure.
3587
#
3588
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3589
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3590
# following values.
3591
3592
_ACEOF
3593
3594
# The following way of writing the cache mishandles newlines in values,
3595
# but we know of no workaround that is simple, portable, and efficient.
3596
# So, we kill variables containing newlines.
3597
# Ultrix sh set writes to stderr and can't be redirected directly,
3598
# and sets the high bit in the cache file unless we assign to the vars.
3599
(
3600
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3601
    eval ac_val=\$$ac_var
3602
    case $ac_val in #(
3603
    *${as_nl}*)
3604
      case $ac_var in #(
3605
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3606
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3607
      esac
3608
      case $ac_var in #(
3609
      _ | IFS | as_nl) ;; #(
3610
      *) $as_unset $ac_var ;;
3611
      esac ;;
3612
    esac
3613
  done
3614
3615
  (set) 2>&1 |
3616
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3617
    *${as_nl}ac_space=\ *)
3618
      # `set' does not quote correctly, so add quotes (double-quote
3619
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3620
      sed -n \
3621
	"s/'/'\\\\''/g;
3622
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3623
      ;; #(
3624
    *)
3625
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3626
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3627
      ;;
3628
    esac |
3629
    sort
3630
) |
3631
  sed '
3632
     /^ac_cv_env_/b end
3633
     t clear
3634
     :clear
3635
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3636
     t end
3637
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3638
     :end' >>confcache
3639
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3640
  if test -w "$cache_file"; then
3641
    test "x$cache_file" != "x/dev/null" &&
3642
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3643
echo "$as_me: updating cache $cache_file" >&6;}
3644
    cat confcache >$cache_file
3645
  else
3646
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3647
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3648
  fi
3649
fi
3650
rm -f confcache
3651
3652
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3653
# Let make expand exec_prefix.
3654
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3655
3656
DEFS=-DHAVE_CONFIG_H
3657
3658
ac_libobjs=
3659
ac_ltlibobjs=
3660
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3661
  # 1. Remove the extension, and $U if already installed.
3662
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3663
  ac_i=`echo "$ac_i" | sed "$ac_script"`
3664
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3665
  #    will be set to the directory where LIBOBJS objects are built.
3666
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3667
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3668
done
3669
LIBOBJS=$ac_libobjs
3670
3671
LTLIBOBJS=$ac_ltlibobjs
3672
3673
3674
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3675
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3676
Usually this means the macro was only invoked conditionally." >&5
3677
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3678
Usually this means the macro was only invoked conditionally." >&2;}
3679
   { (exit 1); exit 1; }; }
3680
fi
3681
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3682
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3683
Usually this means the macro was only invoked conditionally." >&5
3684
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3685
Usually this means the macro was only invoked conditionally." >&2;}
3686
   { (exit 1); exit 1; }; }
3687
fi
3688
if test -z "${BUILD_RECALL_TRUE}" && test -z "${BUILD_RECALL_FALSE}"; then
3689
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_RECALL\" was never defined.
3690
Usually this means the macro was only invoked conditionally." >&5
3691
echo "$as_me: error: conditional \"BUILD_RECALL\" was never defined.
3692
Usually this means the macro was only invoked conditionally." >&2;}
3693
   { (exit 1); exit 1; }; }
3694
fi
3695
if test -z "${BUILD_VIDEO_TRUE}" && test -z "${BUILD_VIDEO_FALSE}"; then
3696
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_VIDEO\" was never defined.
3697
Usually this means the macro was only invoked conditionally." >&5
3698
echo "$as_me: error: conditional \"BUILD_VIDEO\" was never defined.
3699
Usually this means the macro was only invoked conditionally." >&2;}
3700
   { (exit 1); exit 1; }; }
3701
fi
1.1.2 by Michael Biebl
Import upstream version 20070618
3702
if test -z "${BUILD_KEYMAPS_TRUE}" && test -z "${BUILD_KEYMAPS_FALSE}"; then
3703
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYMAPS\" was never defined.
3704
Usually this means the macro was only invoked conditionally." >&5
3705
echo "$as_me: error: conditional \"BUILD_KEYMAPS\" was never defined.
3706
Usually this means the macro was only invoked conditionally." >&2;}
3707
   { (exit 1); exit 1; }; }
3708
fi
1.1.3 by Martin Pitt
Import upstream version 20071030
3709
if test -z "${BUILD_KILLSWITCH_DELL_WLAN_TRUE}" && test -z "${BUILD_KILLSWITCH_DELL_WLAN_FALSE}"; then
3710
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KILLSWITCH_DELL_WLAN\" was never defined.
3711
Usually this means the macro was only invoked conditionally." >&5
3712
echo "$as_me: error: conditional \"BUILD_KILLSWITCH_DELL_WLAN\" was never defined.
3713
Usually this means the macro was only invoked conditionally." >&2;}
3714
   { (exit 1); exit 1; }; }
3715
fi
3716
if test -z "${BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE}" && test -z "${BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE}"; then
3717
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KILLSWITCH_DELL_BLUETOOTH\" was never defined.
3718
Usually this means the macro was only invoked conditionally." >&5
3719
echo "$as_me: error: conditional \"BUILD_KILLSWITCH_DELL_BLUETOOTH\" was never defined.
3720
Usually this means the macro was only invoked conditionally." >&2;}
3721
   { (exit 1); exit 1; }; }
3722
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
3723
if test -z "${BUILD_KILLSWITCH_DELL_WWAN_TRUE}" && test -z "${BUILD_KILLSWITCH_DELL_WWAN_FALSE}"; then
3724
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KILLSWITCH_DELL_WWAN\" was never defined.
3725
Usually this means the macro was only invoked conditionally." >&5
3726
echo "$as_me: error: conditional \"BUILD_KILLSWITCH_DELL_WWAN\" was never defined.
3727
Usually this means the macro was only invoked conditionally." >&2;}
3728
   { (exit 1); exit 1; }; }
3729
fi
1.1.3 by Martin Pitt
Import upstream version 20071030
3730
if test -z "${BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE}" && test -z "${BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE}"; then
3731
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KILLSWITCH_SONY_BLUETOOTH\" was never defined.
3732
Usually this means the macro was only invoked conditionally." >&5
3733
echo "$as_me: error: conditional \"BUILD_KILLSWITCH_SONY_BLUETOOTH\" was never defined.
3734
Usually this means the macro was only invoked conditionally." >&2;}
3735
   { (exit 1); exit 1; }; }
3736
fi
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
3737
if test -z "${BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE}" && test -z "${BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE}"; then
3738
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KILLSWITCH_THINKPAD_BLUETOOTH\" was never defined.
3739
Usually this means the macro was only invoked conditionally." >&5
3740
echo "$as_me: error: conditional \"BUILD_KILLSWITCH_THINKPAD_BLUETOOTH\" was never defined.
3741
Usually this means the macro was only invoked conditionally." >&2;}
3742
   { (exit 1); exit 1; }; }
3743
fi
1.1.3 by Martin Pitt
Import upstream version 20071030
3744
if test -z "${BUILD_KILLSWITCH_IPW_WLAN_TRUE}" && test -z "${BUILD_KILLSWITCH_IPW_WLAN_FALSE}"; then
3745
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KILLSWITCH_IPW_WLAN\" was never defined.
3746
Usually this means the macro was only invoked conditionally." >&5
3747
echo "$as_me: error: conditional \"BUILD_KILLSWITCH_IPW_WLAN\" was never defined.
3748
Usually this means the macro was only invoked conditionally." >&2;}
3749
   { (exit 1); exit 1; }; }
3750
fi
1 by Martin Pitt
Import upstream version 20070402
3751
3752
: ${CONFIG_STATUS=./config.status}
3753
ac_clean_files_save=$ac_clean_files
3754
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3755
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3756
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3757
cat >$CONFIG_STATUS <<_ACEOF
3758
#! $SHELL
3759
# Generated by $as_me.
3760
# Run this file to recreate the current configuration.
3761
# Compiler output produced by configure, useful for debugging
3762
# configure, is in config.log if it exists.
3763
3764
debug=false
3765
ac_cs_recheck=false
3766
ac_cs_silent=false
3767
SHELL=\${CONFIG_SHELL-$SHELL}
3768
_ACEOF
3769
3770
cat >>$CONFIG_STATUS <<\_ACEOF
3771
## --------------------- ##
3772
## M4sh Initialization.  ##
3773
## --------------------- ##
3774
1.1.5 by Martin Pitt
Import upstream version 20080215
3775
# Be more Bourne compatible
3776
DUALCASE=1; export DUALCASE # for MKS sh
1 by Martin Pitt
Import upstream version 20070402
3777
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3778
  emulate sh
3779
  NULLCMD=:
3780
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3781
  # is contrary to our usage.  Disable this feature.
3782
  alias -g '${1+"$@"}'='"$@"'
3783
  setopt NO_GLOB_SUBST
3784
else
1.1.5 by Martin Pitt
Import upstream version 20080215
3785
  case `(set -o) 2>/dev/null` in
3786
  *posix*) set -o posix ;;
3787
esac
3788
1 by Martin Pitt
Import upstream version 20070402
3789
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
3790
3791
1 by Martin Pitt
Import upstream version 20070402
3792
3793
3794
# PATH needs CR
3795
# Avoid depending upon Character Ranges.
3796
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3797
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3798
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3799
as_cr_digits='0123456789'
3800
as_cr_alnum=$as_cr_Letters$as_cr_digits
3801
3802
# The user is always right.
3803
if test "${PATH_SEPARATOR+set}" != set; then
3804
  echo "#! /bin/sh" >conf$$.sh
3805
  echo  "exit 0"   >>conf$$.sh
3806
  chmod +x conf$$.sh
3807
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3808
    PATH_SEPARATOR=';'
3809
  else
3810
    PATH_SEPARATOR=:
3811
  fi
3812
  rm -f conf$$.sh
3813
fi
3814
3815
# Support unset when possible.
3816
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3817
  as_unset=unset
3818
else
3819
  as_unset=false
3820
fi
3821
3822
3823
# IFS
3824
# We need space, tab and new line, in precisely that order.  Quoting is
3825
# there to prevent editors from complaining about space-tab.
3826
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3827
# splitting by setting IFS to empty value.)
3828
as_nl='
3829
'
3830
IFS=" ""	$as_nl"
3831
3832
# Find who we are.  Look in the path if we contain no directory separator.
3833
case $0 in
3834
  *[\\/]* ) as_myself=$0 ;;
3835
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836
for as_dir in $PATH
3837
do
3838
  IFS=$as_save_IFS
3839
  test -z "$as_dir" && as_dir=.
3840
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3841
done
3842
IFS=$as_save_IFS
3843
3844
     ;;
3845
esac
3846
# We did not find ourselves, most probably we were run as `sh COMMAND'
3847
# in which case we are not to be found in the path.
3848
if test "x$as_myself" = x; then
3849
  as_myself=$0
3850
fi
3851
if test ! -f "$as_myself"; then
3852
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3853
  { (exit 1); exit 1; }
3854
fi
3855
3856
# Work around bugs in pre-3.0 UWIN ksh.
3857
for as_var in ENV MAIL MAILPATH
3858
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3859
done
3860
PS1='$ '
3861
PS2='> '
3862
PS4='+ '
3863
3864
# NLS nuisances.
3865
for as_var in \
3866
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3867
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3868
  LC_TELEPHONE LC_TIME
3869
do
3870
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3871
    eval $as_var=C; export $as_var
3872
  else
3873
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3874
  fi
3875
done
3876
3877
# Required to use basename.
3878
if expr a : '\(a\)' >/dev/null 2>&1 &&
3879
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3880
  as_expr=expr
3881
else
3882
  as_expr=false
3883
fi
3884
3885
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3886
  as_basename=basename
3887
else
3888
  as_basename=false
3889
fi
3890
3891
3892
# Name of the executable.
3893
as_me=`$as_basename -- "$0" ||
3894
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3895
	 X"$0" : 'X\(//\)$' \| \
3896
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3897
echo X/"$0" |
3898
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3899
	    s//\1/
3900
	    q
3901
	  }
3902
	  /^X\/\(\/\/\)$/{
3903
	    s//\1/
3904
	    q
3905
	  }
3906
	  /^X\/\(\/\).*/{
3907
	    s//\1/
3908
	    q
3909
	  }
3910
	  s/.*/./; q'`
3911
3912
# CDPATH.
3913
$as_unset CDPATH
3914
3915
3916
3917
  as_lineno_1=$LINENO
3918
  as_lineno_2=$LINENO
3919
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3920
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3921
3922
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3923
  # uniformly replaced by the line number.  The first 'sed' inserts a
3924
  # line-number line after each line using $LINENO; the second 'sed'
3925
  # does the real work.  The second script uses 'N' to pair each
3926
  # line-number line with the line containing $LINENO, and appends
3927
  # trailing '-' during substitution so that $LINENO is not a special
3928
  # case at line end.
3929
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3930
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3931
  # E. McMahon (1931-1989) for sed's syntax.  :-)
3932
  sed -n '
3933
    p
3934
    /[$]LINENO/=
3935
  ' <$as_myself |
3936
    sed '
3937
      s/[$]LINENO.*/&-/
3938
      t lineno
3939
      b
3940
      :lineno
3941
      N
3942
      :loop
3943
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3944
      t loop
3945
      s/-\n.*//
3946
    ' >$as_me.lineno &&
3947
  chmod +x "$as_me.lineno" ||
3948
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3949
   { (exit 1); exit 1; }; }
3950
3951
  # Don't try to exec as it changes $[0], causing all sort of problems
3952
  # (the dirname of $[0] is not the place where we might find the
3953
  # original and so on.  Autoconf is especially sensitive to this).
3954
  . "./$as_me.lineno"
3955
  # Exit status is that of the last command.
3956
  exit
3957
}
3958
3959
3960
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3961
  as_dirname=dirname
3962
else
3963
  as_dirname=false
3964
fi
3965
3966
ECHO_C= ECHO_N= ECHO_T=
3967
case `echo -n x` in
3968
-n*)
3969
  case `echo 'x\c'` in
3970
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3971
  *)   ECHO_C='\c';;
3972
  esac;;
3973
*)
3974
  ECHO_N='-n';;
3975
esac
3976
3977
if expr a : '\(a\)' >/dev/null 2>&1 &&
3978
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3979
  as_expr=expr
3980
else
3981
  as_expr=false
3982
fi
3983
3984
rm -f conf$$ conf$$.exe conf$$.file
3985
if test -d conf$$.dir; then
3986
  rm -f conf$$.dir/conf$$.file
3987
else
3988
  rm -f conf$$.dir
3989
  mkdir conf$$.dir
3990
fi
3991
echo >conf$$.file
3992
if ln -s conf$$.file conf$$ 2>/dev/null; then
3993
  as_ln_s='ln -s'
3994
  # ... but there are two gotchas:
3995
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3996
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3997
  # In both cases, we have to default to `cp -p'.
3998
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3999
    as_ln_s='cp -p'
4000
elif ln conf$$.file conf$$ 2>/dev/null; then
4001
  as_ln_s=ln
4002
else
4003
  as_ln_s='cp -p'
4004
fi
4005
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4006
rmdir conf$$.dir 2>/dev/null
4007
4008
if mkdir -p . 2>/dev/null; then
4009
  as_mkdir_p=:
4010
else
4011
  test -d ./-p && rmdir ./-p
4012
  as_mkdir_p=false
4013
fi
4014
1.1.5 by Martin Pitt
Import upstream version 20080215
4015
if test -x / >/dev/null 2>&1; then
4016
  as_test_x='test -x'
1 by Martin Pitt
Import upstream version 20070402
4017
else
1.1.5 by Martin Pitt
Import upstream version 20080215
4018
  if ls -dL / >/dev/null 2>&1; then
4019
    as_ls_L_option=L
4020
  else
4021
    as_ls_L_option=
4022
  fi
4023
  as_test_x='
4024
    eval sh -c '\''
4025
      if test -d "$1"; then
4026
        test -d "$1/.";
4027
      else
4028
	case $1 in
4029
        -*)set "./$1";;
4030
	esac;
4031
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4032
	???[sx]*):;;*)false;;esac;fi
4033
    '\'' sh
4034
  '
1 by Martin Pitt
Import upstream version 20070402
4035
fi
1.1.5 by Martin Pitt
Import upstream version 20080215
4036
as_executable_p=$as_test_x
1 by Martin Pitt
Import upstream version 20070402
4037
4038
# Sed expression to map a string onto a valid CPP name.
4039
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4040
4041
# Sed expression to map a string onto a valid variable name.
4042
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4043
4044
4045
exec 6>&1
4046
4047
# Save the log message, to keep $[0] and so on meaningful, and to
4048
# report actual input values of CONFIG_FILES etc. instead of their
4049
# values after options handling.
4050
ac_log="
1.1.11 by Martin Pitt
Import upstream version 20081013
4051
This file was extended by hal-info $as_me 20081013, which was
1.1.5 by Martin Pitt
Import upstream version 20080215
4052
generated by GNU Autoconf 2.61.  Invocation command line was
1 by Martin Pitt
Import upstream version 20070402
4053
4054
  CONFIG_FILES    = $CONFIG_FILES
4055
  CONFIG_HEADERS  = $CONFIG_HEADERS
4056
  CONFIG_LINKS    = $CONFIG_LINKS
4057
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4058
  $ $0 $@
4059
4060
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4061
"
4062
4063
_ACEOF
4064
4065
cat >>$CONFIG_STATUS <<_ACEOF
4066
# Files that config.status was made for.
4067
config_files="$ac_config_files"
4068
config_headers="$ac_config_headers"
4069
config_commands="$ac_config_commands"
4070
4071
_ACEOF
4072
4073
cat >>$CONFIG_STATUS <<\_ACEOF
4074
ac_cs_usage="\
4075
\`$as_me' instantiates files from templates according to the
4076
current configuration.
4077
4078
Usage: $0 [OPTIONS] [FILE]...
4079
4080
  -h, --help       print this help, then exit
1.1.5 by Martin Pitt
Import upstream version 20080215
4081
  -V, --version    print version number and configuration settings, then exit
1 by Martin Pitt
Import upstream version 20070402
4082
  -q, --quiet      do not print progress messages
4083
  -d, --debug      don't remove temporary files
4084
      --recheck    update $as_me by reconfiguring in the same conditions
4085
  --file=FILE[:TEMPLATE]
4086
		   instantiate the configuration file FILE
4087
  --header=FILE[:TEMPLATE]
4088
		   instantiate the configuration header FILE
4089
4090
Configuration files:
4091
$config_files
4092
4093
Configuration headers:
4094
$config_headers
4095
4096
Configuration commands:
4097
$config_commands
4098
4099
Report bugs to <bug-autoconf@gnu.org>."
4100
4101
_ACEOF
4102
cat >>$CONFIG_STATUS <<_ACEOF
4103
ac_cs_version="\\
1.1.11 by Martin Pitt
Import upstream version 20081013
4104
hal-info config.status 20081013
1.1.5 by Martin Pitt
Import upstream version 20080215
4105
configured by $0, generated by GNU Autoconf 2.61,
1 by Martin Pitt
Import upstream version 20070402
4106
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4107
4108
Copyright (C) 2006 Free Software Foundation, Inc.
4109
This config.status script is free software; the Free Software Foundation
4110
gives unlimited permission to copy, distribute and modify it."
4111
4112
ac_pwd='$ac_pwd'
4113
srcdir='$srcdir'
4114
INSTALL='$INSTALL'
1.1.5 by Martin Pitt
Import upstream version 20080215
4115
MKDIR_P='$MKDIR_P'
1 by Martin Pitt
Import upstream version 20070402
4116
_ACEOF
4117
4118
cat >>$CONFIG_STATUS <<\_ACEOF
4119
# If no file are specified by the user, then we need to provide default
4120
# value.  By we need to know if files were specified by the user.
4121
ac_need_defaults=:
4122
while test $# != 0
4123
do
4124
  case $1 in
4125
  --*=*)
4126
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4127
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4128
    ac_shift=:
4129
    ;;
4130
  *)
4131
    ac_option=$1
4132
    ac_optarg=$2
4133
    ac_shift=shift
4134
    ;;
4135
  esac
4136
4137
  case $ac_option in
4138
  # Handling of the options.
4139
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4140
    ac_cs_recheck=: ;;
4141
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4142
    echo "$ac_cs_version"; exit ;;
4143
  --debug | --debu | --deb | --de | --d | -d )
4144
    debug=: ;;
4145
  --file | --fil | --fi | --f )
4146
    $ac_shift
4147
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4148
    ac_need_defaults=false;;
4149
  --header | --heade | --head | --hea )
4150
    $ac_shift
4151
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4152
    ac_need_defaults=false;;
4153
  --he | --h)
4154
    # Conflict between --help and --header
4155
    { echo "$as_me: error: ambiguous option: $1
4156
Try \`$0 --help' for more information." >&2
4157
   { (exit 1); exit 1; }; };;
4158
  --help | --hel | -h )
4159
    echo "$ac_cs_usage"; exit ;;
4160
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4161
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4162
    ac_cs_silent=: ;;
4163
4164
  # This is an error.
4165
  -*) { echo "$as_me: error: unrecognized option: $1
4166
Try \`$0 --help' for more information." >&2
4167
   { (exit 1); exit 1; }; } ;;
4168
4169
  *) ac_config_targets="$ac_config_targets $1"
4170
     ac_need_defaults=false ;;
4171
4172
  esac
4173
  shift
4174
done
4175
4176
ac_configure_extra_args=
4177
4178
if $ac_cs_silent; then
4179
  exec 6>/dev/null
4180
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4181
fi
4182
4183
_ACEOF
4184
cat >>$CONFIG_STATUS <<_ACEOF
4185
if \$ac_cs_recheck; then
4186
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4187
  CONFIG_SHELL=$SHELL
4188
  export CONFIG_SHELL
4189
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4190
fi
4191
4192
_ACEOF
4193
cat >>$CONFIG_STATUS <<\_ACEOF
4194
exec 5>>config.log
4195
{
4196
  echo
4197
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4198
## Running $as_me. ##
4199
_ASBOX
4200
  echo "$ac_log"
4201
} >&5
4202
4203
_ACEOF
4204
cat >>$CONFIG_STATUS <<_ACEOF
4205
#
4206
# INIT-COMMANDS
4207
#
4208
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4209
4210
_ACEOF
4211
4212
cat >>$CONFIG_STATUS <<\_ACEOF
4213
4214
# Handling of arguments.
4215
for ac_config_target in $ac_config_targets
4216
do
4217
  case $ac_config_target in
4218
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4219
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4220
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4221
    "fdi/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/Makefile" ;;
4222
    "fdi/information/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/information/Makefile" ;;
4223
    "fdi/information/10freedesktop/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/information/10freedesktop/Makefile" ;;
4224
    "fdi/information/20thirdparty/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/information/20thirdparty/Makefile" ;;
4225
    "fdi/preprobe/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/preprobe/Makefile" ;;
4226
    "fdi/preprobe/10osvendor/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/preprobe/10osvendor/Makefile" ;;
4227
    "fdi/preprobe/20thirdparty/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/preprobe/20thirdparty/Makefile" ;;
1.1.3 by Martin Pitt
Import upstream version 20071030
4228
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
1 by Martin Pitt
Import upstream version 20070402
4229
4230
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4231
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4232
   { (exit 1); exit 1; }; };;
4233
  esac
4234
done
4235
4236
4237
# If the user did not use the arguments to specify the items to instantiate,
4238
# then the envvar interface is used.  Set only those that are not.
4239
# We use the long form for the default assignment because of an extremely
4240
# bizarre bug on SunOS 4.1.3.
4241
if $ac_need_defaults; then
4242
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4243
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4244
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4245
fi
4246
4247
# Have a temporary directory for convenience.  Make it in the build tree
4248
# simply because there is no reason against having it here, and in addition,
4249
# creating and moving files from /tmp can sometimes cause problems.
4250
# Hook for its removal unless debugging.
4251
# Note that there is a small window in which the directory will not be cleaned:
4252
# after its creation but before its name has been assigned to `$tmp'.
4253
$debug ||
4254
{
4255
  tmp=
4256
  trap 'exit_status=$?
4257
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4258
' 0
4259
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4260
}
4261
# Create a (secure) tmp directory for tmp files.
4262
4263
{
4264
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4265
  test -n "$tmp" && test -d "$tmp"
4266
}  ||
4267
{
4268
  tmp=./conf$$-$RANDOM
4269
  (umask 077 && mkdir "$tmp")
4270
} ||
4271
{
4272
   echo "$me: cannot create a temporary directory in ." >&2
4273
   { (exit 1); exit 1; }
4274
}
4275
4276
#
4277
# Set up the sed scripts for CONFIG_FILES section.
4278
#
4279
4280
# No need to generate the scripts if there are no CONFIG_FILES.
4281
# This happens for instance when ./config.status config.h
4282
if test -n "$CONFIG_FILES"; then
4283
4284
_ACEOF
4285
4286
4287
4288
ac_delim='%!_!# '
4289
for ac_last_try in false false false false false :; do
4290
  cat >conf$$subs.sed <<_ACEOF
4291
SHELL!$SHELL$ac_delim
4292
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4293
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4294
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4295
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4296
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4297
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4298
exec_prefix!$exec_prefix$ac_delim
4299
prefix!$prefix$ac_delim
4300
program_transform_name!$program_transform_name$ac_delim
4301
bindir!$bindir$ac_delim
4302
sbindir!$sbindir$ac_delim
4303
libexecdir!$libexecdir$ac_delim
4304
datarootdir!$datarootdir$ac_delim
4305
datadir!$datadir$ac_delim
4306
sysconfdir!$sysconfdir$ac_delim
4307
sharedstatedir!$sharedstatedir$ac_delim
4308
localstatedir!$localstatedir$ac_delim
4309
includedir!$includedir$ac_delim
4310
oldincludedir!$oldincludedir$ac_delim
4311
docdir!$docdir$ac_delim
4312
infodir!$infodir$ac_delim
4313
htmldir!$htmldir$ac_delim
4314
dvidir!$dvidir$ac_delim
4315
pdfdir!$pdfdir$ac_delim
4316
psdir!$psdir$ac_delim
4317
libdir!$libdir$ac_delim
4318
localedir!$localedir$ac_delim
4319
mandir!$mandir$ac_delim
4320
DEFS!$DEFS$ac_delim
4321
ECHO_C!$ECHO_C$ac_delim
4322
ECHO_N!$ECHO_N$ac_delim
4323
ECHO_T!$ECHO_T$ac_delim
4324
LIBS!$LIBS$ac_delim
4325
build_alias!$build_alias$ac_delim
4326
host_alias!$host_alias$ac_delim
4327
target_alias!$target_alias$ac_delim
4328
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4329
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4330
INSTALL_DATA!$INSTALL_DATA$ac_delim
1.1.5 by Martin Pitt
Import upstream version 20080215
4331
am__isrc!$am__isrc$ac_delim
1 by Martin Pitt
Import upstream version 20070402
4332
CYGPATH_W!$CYGPATH_W$ac_delim
4333
PACKAGE!$PACKAGE$ac_delim
4334
VERSION!$VERSION$ac_delim
4335
ACLOCAL!$ACLOCAL$ac_delim
4336
AUTOCONF!$AUTOCONF$ac_delim
4337
AUTOMAKE!$AUTOMAKE$ac_delim
4338
AUTOHEADER!$AUTOHEADER$ac_delim
4339
MAKEINFO!$MAKEINFO$ac_delim
4340
install_sh!$install_sh$ac_delim
4341
STRIP!$STRIP$ac_delim
4342
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4343
mkdir_p!$mkdir_p$ac_delim
4344
AWK!$AWK$ac_delim
4345
SET_MAKE!$SET_MAKE$ac_delim
4346
am__leading_dot!$am__leading_dot$ac_delim
4347
AMTAR!$AMTAR$ac_delim
4348
am__tar!$am__tar$ac_delim
4349
am__untar!$am__untar$ac_delim
4350
CC!$CC$ac_delim
4351
CFLAGS!$CFLAGS$ac_delim
4352
LDFLAGS!$LDFLAGS$ac_delim
4353
CPPFLAGS!$CPPFLAGS$ac_delim
4354
ac_ct_CC!$ac_ct_CC$ac_delim
4355
EXEEXT!$EXEEXT$ac_delim
4356
OBJEXT!$OBJEXT$ac_delim
4357
DEPDIR!$DEPDIR$ac_delim
4358
am__include!$am__include$ac_delim
4359
am__quote!$am__quote$ac_delim
4360
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4361
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4362
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4363
CCDEPMODE!$CCDEPMODE$ac_delim
4364
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4365
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4366
LN_S!$LN_S$ac_delim
1.1.3 by Martin Pitt
Import upstream version 20071030
4367
PKG_CONFIG!$PKG_CONFIG$ac_delim
1 by Martin Pitt
Import upstream version 20070402
4368
BUILD_RECALL_TRUE!$BUILD_RECALL_TRUE$ac_delim
4369
BUILD_RECALL_FALSE!$BUILD_RECALL_FALSE$ac_delim
4370
BUILD_VIDEO_TRUE!$BUILD_VIDEO_TRUE$ac_delim
4371
BUILD_VIDEO_FALSE!$BUILD_VIDEO_FALSE$ac_delim
1.1.2 by Michael Biebl
Import upstream version 20070618
4372
BUILD_KEYMAPS_TRUE!$BUILD_KEYMAPS_TRUE$ac_delim
4373
BUILD_KEYMAPS_FALSE!$BUILD_KEYMAPS_FALSE$ac_delim
1.1.3 by Martin Pitt
Import upstream version 20071030
4374
BUILD_KILLSWITCH_DELL_WLAN_TRUE!$BUILD_KILLSWITCH_DELL_WLAN_TRUE$ac_delim
4375
BUILD_KILLSWITCH_DELL_WLAN_FALSE!$BUILD_KILLSWITCH_DELL_WLAN_FALSE$ac_delim
4376
BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE!$BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE$ac_delim
4377
BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE!$BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE$ac_delim
1.1.5 by Martin Pitt
Import upstream version 20080215
4378
BUILD_KILLSWITCH_DELL_WWAN_TRUE!$BUILD_KILLSWITCH_DELL_WWAN_TRUE$ac_delim
4379
BUILD_KILLSWITCH_DELL_WWAN_FALSE!$BUILD_KILLSWITCH_DELL_WWAN_FALSE$ac_delim
1.1.3 by Martin Pitt
Import upstream version 20071030
4380
BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE!$BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE$ac_delim
4381
BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE!$BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE$ac_delim
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4382
BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE!$BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE$ac_delim
4383
BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE!$BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE$ac_delim
1.1.3 by Martin Pitt
Import upstream version 20071030
4384
BUILD_KILLSWITCH_IPW_WLAN_TRUE!$BUILD_KILLSWITCH_IPW_WLAN_TRUE$ac_delim
4385
BUILD_KILLSWITCH_IPW_WLAN_FALSE!$BUILD_KILLSWITCH_IPW_WLAN_FALSE$ac_delim
1 by Martin Pitt
Import upstream version 20070402
4386
LIBOBJS!$LIBOBJS$ac_delim
4387
LTLIBOBJS!$LTLIBOBJS$ac_delim
4388
_ACEOF
4389
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4390
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1 by Martin Pitt
Import upstream version 20070402
4391
    break
4392
  elif $ac_last_try; then
4393
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4394
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4395
   { (exit 1); exit 1; }; }
4396
  else
4397
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4398
  fi
4399
done
4400
4401
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4402
if test -n "$ac_eof"; then
4403
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4404
  ac_eof=`expr $ac_eof + 1`
4405
fi
4406
4407
cat >>$CONFIG_STATUS <<_ACEOF
4408
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4409
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1 by Martin Pitt
Import upstream version 20070402
4410
_ACEOF
4411
sed '
4412
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4413
s/^/s,@/; s/!/@,|#_!!_#|/
4414
:n
4415
t n
4416
s/'"$ac_delim"'$/,g/; t
4417
s/$/\\/; p
4418
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4419
' >>$CONFIG_STATUS <conf$$subs.sed
4420
rm -f conf$$subs.sed
4421
cat >>$CONFIG_STATUS <<_ACEOF
4422
CEOF$ac_eof
4423
_ACEOF
4424
4425
4426
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4427
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4428
# trailing colons and then remove the whole line if VPATH becomes empty
4429
# (actually we leave an empty line to preserve line numbers).
4430
if test "x$srcdir" = x.; then
4431
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4432
s/:*\$(srcdir):*/:/
4433
s/:*\${srcdir}:*/:/
4434
s/:*@srcdir@:*/:/
4435
s/^\([^=]*=[	 ]*\):*/\1/
4436
s/:*$//
4437
s/^[^=]*=[	 ]*$//
4438
}'
4439
fi
4440
4441
cat >>$CONFIG_STATUS <<\_ACEOF
4442
fi # test -n "$CONFIG_FILES"
4443
4444
4445
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4446
do
4447
  case $ac_tag in
4448
  :[FHLC]) ac_mode=$ac_tag; continue;;
4449
  esac
4450
  case $ac_mode$ac_tag in
4451
  :[FHL]*:*);;
4452
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4453
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4454
   { (exit 1); exit 1; }; };;
4455
  :[FH]-) ac_tag=-:-;;
4456
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4457
  esac
4458
  ac_save_IFS=$IFS
4459
  IFS=:
4460
  set x $ac_tag
4461
  IFS=$ac_save_IFS
4462
  shift
4463
  ac_file=$1
4464
  shift
4465
4466
  case $ac_mode in
4467
  :L) ac_source=$1;;
4468
  :[FH])
4469
    ac_file_inputs=
4470
    for ac_f
4471
    do
4472
      case $ac_f in
4473
      -) ac_f="$tmp/stdin";;
4474
      *) # Look for the file first in the build tree, then in the source tree
4475
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4476
	 # because $ac_f cannot contain `:'.
4477
	 test -f "$ac_f" ||
4478
	   case $ac_f in
4479
	   [\\/$]*) false;;
4480
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4481
	   esac ||
4482
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4483
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4484
   { (exit 1); exit 1; }; };;
4485
      esac
4486
      ac_file_inputs="$ac_file_inputs $ac_f"
4487
    done
4488
4489
    # Let's still pretend it is `configure' which instantiates (i.e., don't
4490
    # use $as_me), people would be surprised to read:
4491
    #    /* config.h.  Generated by config.status.  */
4492
    configure_input="Generated from "`IFS=:
4493
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4494
    if test x"$ac_file" != x-; then
4495
      configure_input="$ac_file.  $configure_input"
4496
      { echo "$as_me:$LINENO: creating $ac_file" >&5
4497
echo "$as_me: creating $ac_file" >&6;}
4498
    fi
4499
4500
    case $ac_tag in
4501
    *:-:* | *:-) cat >"$tmp/stdin";;
4502
    esac
4503
    ;;
4504
  esac
4505
4506
  ac_dir=`$as_dirname -- "$ac_file" ||
4507
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4508
	 X"$ac_file" : 'X\(//\)[^/]' \| \
4509
	 X"$ac_file" : 'X\(//\)$' \| \
4510
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4511
echo X"$ac_file" |
4512
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4513
	    s//\1/
4514
	    q
4515
	  }
4516
	  /^X\(\/\/\)[^/].*/{
4517
	    s//\1/
4518
	    q
4519
	  }
4520
	  /^X\(\/\/\)$/{
4521
	    s//\1/
4522
	    q
4523
	  }
4524
	  /^X\(\/\).*/{
4525
	    s//\1/
4526
	    q
4527
	  }
4528
	  s/.*/./; q'`
4529
  { as_dir="$ac_dir"
4530
  case $as_dir in #(
4531
  -*) as_dir=./$as_dir;;
4532
  esac
4533
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4534
    as_dirs=
4535
    while :; do
4536
      case $as_dir in #(
4537
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4538
      *) as_qdir=$as_dir;;
4539
      esac
4540
      as_dirs="'$as_qdir' $as_dirs"
4541
      as_dir=`$as_dirname -- "$as_dir" ||
4542
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4543
	 X"$as_dir" : 'X\(//\)[^/]' \| \
4544
	 X"$as_dir" : 'X\(//\)$' \| \
4545
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4546
echo X"$as_dir" |
4547
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4548
	    s//\1/
4549
	    q
4550
	  }
4551
	  /^X\(\/\/\)[^/].*/{
4552
	    s//\1/
4553
	    q
4554
	  }
4555
	  /^X\(\/\/\)$/{
4556
	    s//\1/
4557
	    q
4558
	  }
4559
	  /^X\(\/\).*/{
4560
	    s//\1/
4561
	    q
4562
	  }
4563
	  s/.*/./; q'`
4564
      test -d "$as_dir" && break
4565
    done
4566
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4567
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4568
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4569
   { (exit 1); exit 1; }; }; }
4570
  ac_builddir=.
4571
4572
case "$ac_dir" in
4573
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4574
*)
4575
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4576
  # A ".." for each directory in $ac_dir_suffix.
4577
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4578
  case $ac_top_builddir_sub in
4579
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4580
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4581
  esac ;;
4582
esac
4583
ac_abs_top_builddir=$ac_pwd
4584
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4585
# for backward compatibility:
4586
ac_top_builddir=$ac_top_build_prefix
4587
4588
case $srcdir in
4589
  .)  # We are building in place.
4590
    ac_srcdir=.
4591
    ac_top_srcdir=$ac_top_builddir_sub
4592
    ac_abs_top_srcdir=$ac_pwd ;;
4593
  [\\/]* | ?:[\\/]* )  # Absolute name.
4594
    ac_srcdir=$srcdir$ac_dir_suffix;
4595
    ac_top_srcdir=$srcdir
4596
    ac_abs_top_srcdir=$srcdir ;;
4597
  *) # Relative name.
4598
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4599
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4600
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4601
esac
4602
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4603
4604
4605
  case $ac_mode in
4606
  :F)
4607
  #
4608
  # CONFIG_FILE
4609
  #
4610
4611
  case $INSTALL in
4612
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4613
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4614
  esac
1.1.5 by Martin Pitt
Import upstream version 20080215
4615
  ac_MKDIR_P=$MKDIR_P
4616
  case $MKDIR_P in
4617
  [\\/$]* | ?:[\\/]* ) ;;
4618
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4619
  esac
1 by Martin Pitt
Import upstream version 20070402
4620
_ACEOF
4621
4622
cat >>$CONFIG_STATUS <<\_ACEOF
4623
# If the template does not know about datarootdir, expand it.
4624
# FIXME: This hack should be removed a few years after 2.60.
4625
ac_datarootdir_hack=; ac_datarootdir_seen=
4626
4627
case `sed -n '/datarootdir/ {
4628
  p
4629
  q
4630
}
4631
/@datadir@/p
4632
/@docdir@/p
4633
/@infodir@/p
4634
/@localedir@/p
4635
/@mandir@/p
4636
' $ac_file_inputs` in
4637
*datarootdir*) ac_datarootdir_seen=yes;;
4638
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4639
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4640
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4641
_ACEOF
4642
cat >>$CONFIG_STATUS <<_ACEOF
4643
  ac_datarootdir_hack='
4644
  s&@datadir@&$datadir&g
4645
  s&@docdir@&$docdir&g
4646
  s&@infodir@&$infodir&g
4647
  s&@localedir@&$localedir&g
4648
  s&@mandir@&$mandir&g
4649
    s&\\\${datarootdir}&$datarootdir&g' ;;
4650
esac
4651
_ACEOF
4652
4653
# Neutralize VPATH when `$srcdir' = `.'.
4654
# Shell code in configure.ac might set extrasub.
4655
# FIXME: do we really want to maintain this feature?
4656
cat >>$CONFIG_STATUS <<_ACEOF
4657
  sed "$ac_vpsub
4658
$extrasub
4659
_ACEOF
4660
cat >>$CONFIG_STATUS <<\_ACEOF
4661
:t
4662
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4663
s&@configure_input@&$configure_input&;t t
4664
s&@top_builddir@&$ac_top_builddir_sub&;t t
4665
s&@srcdir@&$ac_srcdir&;t t
4666
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4667
s&@top_srcdir@&$ac_top_srcdir&;t t
4668
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4669
s&@builddir@&$ac_builddir&;t t
4670
s&@abs_builddir@&$ac_abs_builddir&;t t
4671
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4672
s&@INSTALL@&$ac_INSTALL&;t t
1.1.5 by Martin Pitt
Import upstream version 20080215
4673
s&@MKDIR_P@&$ac_MKDIR_P&;t t
1 by Martin Pitt
Import upstream version 20070402
4674
$ac_datarootdir_hack
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4675
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
1 by Martin Pitt
Import upstream version 20070402
4676
4677
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4678
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4679
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4680
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4681
which seems to be undefined.  Please make sure it is defined." >&5
4682
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4683
which seems to be undefined.  Please make sure it is defined." >&2;}
4684
4685
  rm -f "$tmp/stdin"
4686
  case $ac_file in
4687
  -) cat "$tmp/out"; rm -f "$tmp/out";;
4688
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4689
  esac
4690
 ;;
4691
  :H)
4692
  #
4693
  # CONFIG_HEADER
4694
  #
4695
_ACEOF
4696
4697
# Transform confdefs.h into a sed script `conftest.defines', that
4698
# substitutes the proper values into config.h.in to produce config.h.
4699
rm -f conftest.defines conftest.tail
4700
# First, append a space to every undef/define line, to ease matching.
4701
echo 's/$/ /' >conftest.defines
4702
# Then, protect against being on the right side of a sed subst, or in
4703
# an unquoted here document, in config.status.  If some macros were
4704
# called several times there might be several #defines for the same
4705
# symbol, which is useless.  But do not sort them, since the last
4706
# AC_DEFINE must be honored.
4707
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4708
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4709
# NAME is the cpp macro being defined, VALUE is the value it is being given.
4710
# PARAMS is the parameter list in the macro definition--in most cases, it's
4711
# just an empty string.
4712
ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
4713
ac_dB='\\)[	 (].*,\\1define\\2'
4714
ac_dC=' '
4715
ac_dD=' ,'
4716
4717
uniq confdefs.h |
4718
  sed -n '
4719
	t rset
4720
	:rset
4721
	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
4722
	t ok
4723
	d
4724
	:ok
4725
	s/[\\&,]/\\&/g
4726
	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4727
	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4728
  ' >>conftest.defines
4729
4730
# Remove the space that was appended to ease matching.
4731
# Then replace #undef with comments.  This is necessary, for
4732
# example, in the case of _POSIX_SOURCE, which is predefined and required
4733
# on some systems where configure will not decide to define it.
4734
# (The regexp can be short, since the line contains either #define or #undef.)
4735
echo 's/ $//
4736
s,^[	 #]*u.*,/* & */,' >>conftest.defines
4737
4738
# Break up conftest.defines:
4739
ac_max_sed_lines=50
4740
4741
# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4742
# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4743
# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4744
# et cetera.
4745
ac_in='$ac_file_inputs'
4746
ac_out='"$tmp/out1"'
4747
ac_nxt='"$tmp/out2"'
4748
4749
while :
4750
do
4751
  # Write a here document:
4752
    cat >>$CONFIG_STATUS <<_ACEOF
4753
    # First, check the format of the line:
4754
    cat >"\$tmp/defines.sed" <<\\CEOF
4755
/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
4756
/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
4757
b
4758
:def
4759
_ACEOF
4760
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4761
  echo 'CEOF
4762
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4763
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4764
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4765
  grep . conftest.tail >/dev/null || break
4766
  rm -f conftest.defines
4767
  mv conftest.tail conftest.defines
4768
done
4769
rm -f conftest.defines conftest.tail
4770
4771
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4772
cat >>$CONFIG_STATUS <<\_ACEOF
4773
  if test x"$ac_file" != x-; then
4774
    echo "/* $configure_input  */" >"$tmp/config.h"
4775
    cat "$ac_result" >>"$tmp/config.h"
4776
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4777
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4778
echo "$as_me: $ac_file is unchanged" >&6;}
4779
    else
4780
      rm -f $ac_file
4781
      mv "$tmp/config.h" $ac_file
4782
    fi
4783
  else
4784
    echo "/* $configure_input  */"
4785
    cat "$ac_result"
4786
  fi
4787
  rm -f "$tmp/out12"
4788
# Compute $ac_file's index in $config_headers.
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4789
_am_arg=$ac_file
1 by Martin Pitt
Import upstream version 20070402
4790
_am_stamp_count=1
4791
for _am_header in $config_headers :; do
4792
  case $_am_header in
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4793
    $_am_arg | $_am_arg:* )
1 by Martin Pitt
Import upstream version 20070402
4794
      break ;;
4795
    * )
4796
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4797
  esac
4798
done
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4799
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4800
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4801
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
4802
	 X"$_am_arg" : 'X\(//\)$' \| \
4803
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4804
echo X"$_am_arg" |
1 by Martin Pitt
Import upstream version 20070402
4805
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4806
	    s//\1/
4807
	    q
4808
	  }
4809
	  /^X\(\/\/\)[^/].*/{
4810
	    s//\1/
4811
	    q
4812
	  }
4813
	  /^X\(\/\/\)$/{
4814
	    s//\1/
4815
	    q
4816
	  }
4817
	  /^X\(\/\).*/{
4818
	    s//\1/
4819
	    q
4820
	  }
4821
	  s/.*/./; q'`/stamp-h$_am_stamp_count
4822
 ;;
4823
4824
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4825
echo "$as_me: executing $ac_file commands" >&6;}
4826
 ;;
4827
  esac
4828
4829
4830
  case $ac_file$ac_mode in
4831
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4832
  # Strip MF so we end up with the name of the file.
4833
  mf=`echo "$mf" | sed -e 's/:.*$//'`
4834
  # Check whether this is an Automake generated Makefile or not.
4835
  # We used to match only the files named `Makefile.in', but
4836
  # some people rename them; so instead we look at the file content.
4837
  # Grep'ing the first line is not enough: some people post-process
4838
  # each Makefile.in and add a new line on top of each file to say so.
1.1.5 by Martin Pitt
Import upstream version 20080215
4839
  # Grep'ing the whole file is not good either: AIX grep has a line
4840
  # limit of 2048, but all sed's we know have understand at least 4000.
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4841
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1 by Martin Pitt
Import upstream version 20070402
4842
    dirpart=`$as_dirname -- "$mf" ||
4843
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4844
	 X"$mf" : 'X\(//\)[^/]' \| \
4845
	 X"$mf" : 'X\(//\)$' \| \
4846
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4847
echo X"$mf" |
4848
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4849
	    s//\1/
4850
	    q
4851
	  }
4852
	  /^X\(\/\/\)[^/].*/{
4853
	    s//\1/
4854
	    q
4855
	  }
4856
	  /^X\(\/\/\)$/{
4857
	    s//\1/
4858
	    q
4859
	  }
4860
	  /^X\(\/\).*/{
4861
	    s//\1/
4862
	    q
4863
	  }
4864
	  s/.*/./; q'`
4865
  else
4866
    continue
4867
  fi
4868
  # Extract the definition of DEPDIR, am__include, and am__quote
4869
  # from the Makefile without running `make'.
4870
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4871
  test -z "$DEPDIR" && continue
4872
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4873
  test -z "am__include" && continue
4874
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4875
  # When using ansi2knr, U may be empty or an underscore; expand it
4876
  U=`sed -n 's/^U = //p' < "$mf"`
4877
  # Find all dependency output files, they are included files with
4878
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4879
  # simplest approach to changing $(DEPDIR) to its actual value in the
4880
  # expansion.
4881
  for file in `sed -n "
4882
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4883
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4884
    # Make sure the directory exists.
4885
    test -f "$dirpart/$file" && continue
4886
    fdir=`$as_dirname -- "$file" ||
4887
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4888
	 X"$file" : 'X\(//\)[^/]' \| \
4889
	 X"$file" : 'X\(//\)$' \| \
4890
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4891
echo X"$file" |
4892
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4893
	    s//\1/
4894
	    q
4895
	  }
4896
	  /^X\(\/\/\)[^/].*/{
4897
	    s//\1/
4898
	    q
4899
	  }
4900
	  /^X\(\/\/\)$/{
4901
	    s//\1/
4902
	    q
4903
	  }
4904
	  /^X\(\/\).*/{
4905
	    s//\1/
4906
	    q
4907
	  }
4908
	  s/.*/./; q'`
4909
    { as_dir=$dirpart/$fdir
4910
  case $as_dir in #(
4911
  -*) as_dir=./$as_dir;;
4912
  esac
4913
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4914
    as_dirs=
4915
    while :; do
4916
      case $as_dir in #(
4917
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4918
      *) as_qdir=$as_dir;;
4919
      esac
4920
      as_dirs="'$as_qdir' $as_dirs"
4921
      as_dir=`$as_dirname -- "$as_dir" ||
4922
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4923
	 X"$as_dir" : 'X\(//\)[^/]' \| \
4924
	 X"$as_dir" : 'X\(//\)$' \| \
4925
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4926
echo X"$as_dir" |
4927
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4928
	    s//\1/
4929
	    q
4930
	  }
4931
	  /^X\(\/\/\)[^/].*/{
4932
	    s//\1/
4933
	    q
4934
	  }
4935
	  /^X\(\/\/\)$/{
4936
	    s//\1/
4937
	    q
4938
	  }
4939
	  /^X\(\/\).*/{
4940
	    s//\1/
4941
	    q
4942
	  }
4943
	  s/.*/./; q'`
4944
      test -d "$as_dir" && break
4945
    done
4946
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4947
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4948
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4949
   { (exit 1); exit 1; }; }; }
4950
    # echo "creating $dirpart/$file"
4951
    echo '# dummy' > "$dirpart/$file"
4952
  done
4953
done
4954
 ;;
4955
4956
  esac
4957
done # for ac_tag
4958
4959
4960
{ (exit 0); exit 0; }
4961
_ACEOF
4962
chmod +x $CONFIG_STATUS
4963
ac_clean_files=$ac_clean_files_save
4964
4965
4966
# configure is writing to config.log, and then calls config.status.
4967
# config.status does its own redirection, appending to config.log.
4968
# Unfortunately, on DOS this fails, as config.log is still kept open
4969
# by configure, so config.status won't be able to write to it; its
4970
# output is simply discarded.  So we exec the FD to /dev/null,
4971
# effectively closing config.log, so it can be properly (re)opened and
4972
# appended to by config.status.  When coming back to configure, we
4973
# need to make the FD available again.
4974
if test "$no_create" != yes; then
4975
  ac_cs_success=:
4976
  ac_config_status_args=
4977
  test "$silent" = yes &&
4978
    ac_config_status_args="$ac_config_status_args --quiet"
4979
  exec 5>/dev/null
4980
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4981
  exec 5>>config.log
4982
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4983
  # would make configure fail if this is the last instruction.
4984
  $ac_cs_success || { (exit 1); exit 1; }
4985
fi
4986
4987
4988
echo "
1.1.4 by Martin Pitt
Import upstream version 20071212
4989
                        hal-info $VERSION
4990
                     ======================== "
4991
if test x$WRONG_HAL_VERSION = xyes; then
4992
echo "
4993
	================ !!! WARNING !!! ========================
4994
  	     You use a too old HAL version! You need at least
4995
               hal >= 0.5.10 to use this hal-info version!
4996
        ========================================================="
4997
fi
4998
echo "
1.1.6 by Martin Pitt
Import upstream version 20080317+git20080318
4999
        prefix:                                     ${prefix}
5000
        datarootdir:                                ${datarootdir:-unused}
5001
        datadir:                                    ${datadir}
5002
        sysconfdir:                                 ${sysconfdir}
5003
        hardware recall data:                       ${enable_recall}
5004
        video suspend data:                         ${enable_video}
5005
        killswitch support for Dell wlan:           ${enable_killswitch_dell_wlan}
5006
        killswitch support for Dell Bluetooth:      ${enable_killswitch_dell_bluetooth}
5007
        killswitch support for Dell wwan:           ${enable_killswitch_dell_wwan} (requires hal >= 0.5.11)
5008
        killswitch support for Sony Bluetooth:      ${enable_killswitch_sony_bluetooth}
5009
        killswitch support for ThinkPad Bluetooth:  ${enable_killswitch_thinkpad_bluetooth} (requires hal >= 0.5.11)
5010
        killswitch support for IPW wlan:            ${enable_killswitch_ipw_wlan} (requires hal >= 0.5.10)
1 by Martin Pitt
Import upstream version 20070402
5011
"