~ubuntu-branches/ubuntu/hardy/hal-info/hardy-proposed

« back to all changes in this revision

Viewing changes to configure

ImportĀ upstreamĀ versionĀ 20080508+git20080601

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.60 for hal-info 20080508.
 
3
# Generated by GNU Autoconf 2.61 for hal-info 20080508.
4
4
#
5
5
# Report bugs to <hal@lists.freedesktop.org>.
6
6
#
12
12
## M4sh Initialization.  ##
13
13
## --------------------- ##
14
14
 
15
 
# Be Bourne compatible
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
16
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
18
  emulate sh
18
19
  NULLCMD=:
21
22
  alias -g '${1+"$@"}'='"$@"'
22
23
  setopt NO_GLOB_SUBST
23
24
else
24
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
25
29
fi
26
 
BIN_SH=xpg4; export BIN_SH # for Tru64
27
 
DUALCASE=1; export DUALCASE # for MKS sh
 
30
 
 
31
 
28
32
 
29
33
 
30
34
# PATH needs CR
217
221
else
218
222
  as_candidate_shells=
219
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
 
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
225
do
222
226
  IFS=$as_save_IFS
223
227
  test -z "$as_dir" && as_dir=.
235
239
         # Try only shells that exist, to save several forks.
236
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
238
 
# Be Bourne compatible
239
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
243
  emulate sh
241
244
  NULLCMD=:
244
247
  alias -g '${1+"$@"}'='"$@"'
245
248
  setopt NO_GLOB_SUBST
246
249
else
247
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
248
254
fi
249
 
BIN_SH=xpg4; export BIN_SH # for Tru64
250
 
DUALCASE=1; export DUALCASE # for MKS sh
 
255
 
251
256
 
252
257
:
253
258
_ASEOF
255
260
  CONFIG_SHELL=$as_shell
256
261
               as_have_required=yes
257
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
258
 
# Be Bourne compatible
259
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
264
  emulate sh
261
265
  NULLCMD=:
264
268
  alias -g '${1+"$@"}'='"$@"'
265
269
  setopt NO_GLOB_SUBST
266
270
else
267
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
268
275
fi
269
 
BIN_SH=xpg4; export BIN_SH # for Tru64
270
 
DUALCASE=1; export DUALCASE # for MKS sh
 
276
 
271
277
 
272
278
:
273
279
(as_func_return () {
514
520
  as_mkdir_p=false
515
521
fi
516
522
 
517
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
518
 
# systems may use methods other than mode bits to determine executability.
519
 
cat >conf$$.file <<_ASEOF
520
 
#! /bin/sh
521
 
exit 0
522
 
_ASEOF
523
 
chmod +x conf$$.file
524
 
if test -x conf$$.file >/dev/null 2>&1; then
525
 
  as_executable_p="test -x"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
526
525
else
527
 
  as_executable_p=:
 
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
  '
528
543
fi
529
 
rm -f conf$$.file
 
544
as_executable_p=$as_test_x
530
545
 
531
546
# Sed expression to map a string onto a valid CPP name.
532
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
603
618
INSTALL_PROGRAM
604
619
INSTALL_SCRIPT
605
620
INSTALL_DATA
 
621
am__isrc
606
622
CYGPATH_W
607
623
PACKAGE
608
624
VERSION
666
682
CC
667
683
CFLAGS
668
684
LDFLAGS
 
685
LIBS
669
686
CPPFLAGS
670
687
PKG_CONFIG'
671
688
 
773
790
  -disable-* | --disable-*)
774
791
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
775
792
    # Reject names that are not valid shell variable names.
776
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
793
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
777
794
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
778
795
   { (exit 1); exit 1; }; }
779
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
796
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
780
797
    eval enable_$ac_feature=no ;;
781
798
 
782
799
  -docdir | --docdir | --docdi | --doc | --do)
792
809
  -enable-* | --enable-*)
793
810
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
794
811
    # Reject names that are not valid shell variable names.
795
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
812
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
796
813
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
797
814
   { (exit 1); exit 1; }; }
798
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
815
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
799
816
    eval enable_$ac_feature=\$ac_optarg ;;
800
817
 
801
818
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989
1006
  -with-* | --with-*)
990
1007
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
991
1008
    # Reject names that are not valid shell variable names.
992
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1009
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
993
1010
      { echo "$as_me: error: invalid package name: $ac_package" >&2
994
1011
   { (exit 1); exit 1; }; }
995
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
1012
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
996
1013
    eval with_$ac_package=\$ac_optarg ;;
997
1014
 
998
1015
  -without-* | --without-*)
999
1016
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1000
1017
    # Reject names that are not valid shell variable names.
1001
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1018
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1002
1019
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1003
1020
   { (exit 1); exit 1; }; }
1004
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
1021
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1005
1022
    eval with_$ac_package=no ;;
1006
1023
 
1007
1024
  --x)
1260
1277
  CFLAGS      C compiler flags
1261
1278
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1262
1279
              nonstandard directory <lib dir>
 
1280
  LIBS        libraries to pass to the linker, e.g. -l<library>
1263
1281
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1264
1282
              you have headers in a nonstandard directory <include dir>
1265
1283
  PKG_CONFIG  path to pkg-config utility
1329
1347
if $ac_init_version; then
1330
1348
  cat <<\_ACEOF
1331
1349
hal-info configure 20080508
1332
 
generated by GNU Autoconf 2.60
 
1350
generated by GNU Autoconf 2.61
1333
1351
 
1334
1352
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1335
1353
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1343
1361
running configure, to aid debugging if configure makes a mistake.
1344
1362
 
1345
1363
It was created by hal-info $as_me 20080508, which was
1346
 
generated by GNU Autoconf 2.60.  Invocation command line was
 
1364
generated by GNU Autoconf 2.61.  Invocation command line was
1347
1365
 
1348
1366
  $ $0 $@
1349
1367
 
1695
1713
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1696
1714
 
1697
1715
 
1698
 
am__api_version="1.9"
 
1716
am__api_version='1.10'
 
1717
 
1699
1718
ac_aux_dir=
1700
1719
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1701
1720
  if test -f "$ac_dir/install-sh"; then
1763
1782
    # by default.
1764
1783
    for ac_prog in ginstall scoinst install; do
1765
1784
      for ac_exec_ext in '' $ac_executable_extensions; do
1766
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1785
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1767
1786
          if test $ac_prog = install &&
1768
1787
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1769
1788
            # AIX install.  It has an incompatible calling convention.
1878
1897
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1879
1898
fi
1880
1899
 
1881
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1882
 
  # We used to keeping the `.' as first argument, in order to
1883
 
  # allow $(mkdir_p) to be used without argument.  As in
1884
 
  #   $(mkdir_p) $(somedir)
1885
 
  # where $(somedir) is conditionally defined.  However this is wrong
1886
 
  # for two reasons:
1887
 
  #  1. if the package is installed by a user who cannot write `.'
1888
 
  #     make install will fail,
1889
 
  #  2. the above comment should most certainly read
1890
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1891
 
  #     so it does not work when $(somedir) is undefined and
1892
 
  #     $(DESTDIR) is not.
1893
 
  #  To support the latter case, we have to write
1894
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1895
 
  #  so the `.' trick is pointless.
1896
 
  mkdir_p='mkdir -p --'
 
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
1897
1905
else
1898
 
  # On NextStep and OpenStep, the `mkdir' command does not
1899
 
  # recognize any option.  It will interpret all options as
1900
 
  # directories to create, and then abort because `.' already
1901
 
  # exists.
1902
 
  for d in ./-p ./--version;
1903
 
  do
1904
 
    test -d $d && rmdir $d
1905
 
  done
1906
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1907
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1908
 
    mkdir_p='$(mkinstalldirs)'
 
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"
1909
1930
  else
1910
 
    mkdir_p='$(install_sh) -d'
 
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"
1911
1937
  fi
1912
1938
fi
 
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
1913
1947
 
1914
1948
for ac_prog in gawk mawk nawk awk
1915
1949
do
1929
1963
  IFS=$as_save_IFS
1930
1964
  test -z "$as_dir" && as_dir=.
1931
1965
  for ac_exec_ext in '' $ac_executable_extensions; do
1932
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1966
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1933
1967
    ac_cv_prog_AWK="$ac_prog"
1934
1968
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935
1969
    break 2
1992
2026
fi
1993
2027
rmdir .tst 2>/dev/null
1994
2028
 
1995
 
# test to see if srcdir already configured
1996
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1997
 
   test -f $srcdir/config.status; then
1998
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
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
1999
2036
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2000
2037
   { (exit 1); exit 1; }; }
 
2038
  fi
2001
2039
fi
2002
2040
 
2003
2041
# test whether we have cygpath
2040
2078
 
2041
2079
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2042
2080
 
2043
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2081
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2044
2082
 
2045
2083
# Installed binaries are usually stripped using `strip' when the user
2046
2084
# run `make install-strip'.  However `strip' might not be the right
2064
2102
  IFS=$as_save_IFS
2065
2103
  test -z "$as_dir" && as_dir=.
2066
2104
  for ac_exec_ext in '' $ac_executable_extensions; do
2067
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068
2106
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2069
2107
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070
2108
    break 2
2104
2142
  IFS=$as_save_IFS
2105
2143
  test -z "$as_dir" && as_dir=.
2106
2144
  for ac_exec_ext in '' $ac_executable_extensions; do
2107
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108
2146
    ac_cv_prog_ac_ct_STRIP="strip"
2109
2147
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110
2148
    break 2
2144
2182
fi
2145
2183
 
2146
2184
fi
2147
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2185
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2148
2186
 
2149
2187
# We need awk for the "check" target.  The system "awk" is bad on
2150
2188
# some platforms.
2183
2221
  IFS=$as_save_IFS
2184
2222
  test -z "$as_dir" && as_dir=.
2185
2223
  for ac_exec_ext in '' $ac_executable_extensions; do
2186
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187
2225
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2188
2226
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189
2227
    break 2
2223
2261
  IFS=$as_save_IFS
2224
2262
  test -z "$as_dir" && as_dir=.
2225
2263
  for ac_exec_ext in '' $ac_executable_extensions; do
2226
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2264
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2227
2265
    ac_cv_prog_ac_ct_CC="gcc"
2228
2266
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229
2267
    break 2
2280
2318
  IFS=$as_save_IFS
2281
2319
  test -z "$as_dir" && as_dir=.
2282
2320
  for ac_exec_ext in '' $ac_executable_extensions; do
2283
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284
2322
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2285
2323
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286
2324
    break 2
2321
2359
  IFS=$as_save_IFS
2322
2360
  test -z "$as_dir" && as_dir=.
2323
2361
  for ac_exec_ext in '' $ac_executable_extensions; do
2324
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325
2363
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2326
2364
       ac_prog_rejected=yes
2327
2365
       continue
2379
2417
  IFS=$as_save_IFS
2380
2418
  test -z "$as_dir" && as_dir=.
2381
2419
  for ac_exec_ext in '' $ac_executable_extensions; do
2382
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2420
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383
2421
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2384
2422
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385
2423
    break 2
2423
2461
  IFS=$as_save_IFS
2424
2462
  test -z "$as_dir" && as_dir=.
2425
2463
  for ac_exec_ext in '' $ac_executable_extensions; do
2426
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427
2465
    ac_cv_prog_ac_ct_CC="$ac_prog"
2428
2466
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2429
2467
    break 2
2564
2602
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2565
2603
# so that the user can short-circuit this test for compilers unknown to
2566
2604
# Autoconf.
2567
 
for ac_file in $ac_files
 
2605
for ac_file in $ac_files ''
2568
2606
do
2569
2607
  test -f "$ac_file" || continue
2570
2608
  case $ac_file in
2592
2630
test "$ac_cv_exeext" = no && ac_cv_exeext=
2593
2631
 
2594
2632
else
 
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
2595
2639
  echo "$as_me: failed program was:" >&5
2596
2640
sed 's/^/| /' conftest.$ac_ext >&5
2597
2641
 
2603
2647
fi
2604
2648
 
2605
2649
ac_exeext=$ac_cv_exeext
2606
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2607
 
echo "${ECHO_T}$ac_file" >&6; }
2608
2650
 
2609
2651
# Check that the compiler produces executables we can run.  If not, either
2610
2652
# the compiler is broken, or we cross compile.
2782
2824
  rm -f conftest.er1
2783
2825
  cat conftest.err >&5
2784
2826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
 
  (exit $ac_status); } &&
2786
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2787
 
  { (case "(($ac_try" in
2788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789
 
  *) ac_try_echo=$ac_try;;
2790
 
esac
2791
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792
 
  (eval "$ac_try") 2>&5
2793
 
  ac_status=$?
2794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795
 
  (exit $ac_status); }; } &&
2796
 
         { ac_try='test -s conftest.$ac_objext'
2797
 
  { (case "(($ac_try" in
2798
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799
 
  *) ac_try_echo=$ac_try;;
2800
 
esac
2801
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2802
 
  (eval "$ac_try") 2>&5
2803
 
  ac_status=$?
2804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805
 
  (exit $ac_status); }; }; then
 
2827
  (exit $ac_status); } && {
 
2828
         test -z "$ac_c_werror_flag" ||
 
2829
         test ! -s conftest.err
 
2830
       } && test -s conftest.$ac_objext; then
2806
2831
  ac_compiler_gnu=yes
2807
2832
else
2808
2833
  echo "$as_me: failed program was:" >&5
2857
2882
  rm -f conftest.er1
2858
2883
  cat conftest.err >&5
2859
2884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
 
  (exit $ac_status); } &&
2861
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2862
 
  { (case "(($ac_try" in
2863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864
 
  *) ac_try_echo=$ac_try;;
2865
 
esac
2866
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867
 
  (eval "$ac_try") 2>&5
2868
 
  ac_status=$?
2869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870
 
  (exit $ac_status); }; } &&
2871
 
         { ac_try='test -s conftest.$ac_objext'
2872
 
  { (case "(($ac_try" in
2873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874
 
  *) ac_try_echo=$ac_try;;
2875
 
esac
2876
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2877
 
  (eval "$ac_try") 2>&5
2878
 
  ac_status=$?
2879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
 
  (exit $ac_status); }; }; then
 
2885
  (exit $ac_status); } && {
 
2886
         test -z "$ac_c_werror_flag" ||
 
2887
         test ! -s conftest.err
 
2888
       } && test -s conftest.$ac_objext; then
2881
2889
  ac_cv_prog_cc_g=yes
2882
2890
else
2883
2891
  echo "$as_me: failed program was:" >&5
2912
2920
  rm -f conftest.er1
2913
2921
  cat conftest.err >&5
2914
2922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915
 
  (exit $ac_status); } &&
2916
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2917
 
  { (case "(($ac_try" in
2918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919
 
  *) ac_try_echo=$ac_try;;
2920
 
esac
2921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922
 
  (eval "$ac_try") 2>&5
2923
 
  ac_status=$?
2924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
 
  (exit $ac_status); }; } &&
2926
 
         { ac_try='test -s conftest.$ac_objext'
2927
 
  { (case "(($ac_try" in
2928
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929
 
  *) ac_try_echo=$ac_try;;
2930
 
esac
2931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932
 
  (eval "$ac_try") 2>&5
2933
 
  ac_status=$?
2934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935
 
  (exit $ac_status); }; }; then
 
2923
  (exit $ac_status); } && {
 
2924
         test -z "$ac_c_werror_flag" ||
 
2925
         test ! -s conftest.err
 
2926
       } && test -s conftest.$ac_objext; then
2936
2927
  :
2937
2928
else
2938
2929
  echo "$as_me: failed program was:" >&5
2968
2959
  rm -f conftest.er1
2969
2960
  cat conftest.err >&5
2970
2961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971
 
  (exit $ac_status); } &&
2972
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2973
 
  { (case "(($ac_try" in
2974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
 
  *) ac_try_echo=$ac_try;;
2976
 
esac
2977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978
 
  (eval "$ac_try") 2>&5
2979
 
  ac_status=$?
2980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
 
  (exit $ac_status); }; } &&
2982
 
         { ac_try='test -s conftest.$ac_objext'
2983
 
  { (case "(($ac_try" in
2984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985
 
  *) ac_try_echo=$ac_try;;
2986
 
esac
2987
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988
 
  (eval "$ac_try") 2>&5
2989
 
  ac_status=$?
2990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991
 
  (exit $ac_status); }; }; then
 
2962
  (exit $ac_status); } && {
 
2963
         test -z "$ac_c_werror_flag" ||
 
2964
         test ! -s conftest.err
 
2965
       } && test -s conftest.$ac_objext; then
2992
2966
  ac_cv_prog_cc_g=yes
2993
2967
else
2994
2968
  echo "$as_me: failed program was:" >&5
3104
3078
  rm -f conftest.er1
3105
3079
  cat conftest.err >&5
3106
3080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107
 
  (exit $ac_status); } &&
3108
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3109
 
  { (case "(($ac_try" in
3110
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111
 
  *) ac_try_echo=$ac_try;;
3112
 
esac
3113
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3114
 
  (eval "$ac_try") 2>&5
3115
 
  ac_status=$?
3116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117
 
  (exit $ac_status); }; } &&
3118
 
         { ac_try='test -s conftest.$ac_objext'
3119
 
  { (case "(($ac_try" in
3120
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121
 
  *) ac_try_echo=$ac_try;;
3122
 
esac
3123
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124
 
  (eval "$ac_try") 2>&5
3125
 
  ac_status=$?
3126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127
 
  (exit $ac_status); }; }; then
 
3081
  (exit $ac_status); } && {
 
3082
         test -z "$ac_c_werror_flag" ||
 
3083
         test ! -s conftest.err
 
3084
       } && test -s conftest.$ac_objext; then
3128
3085
  ac_cv_prog_cc_c89=$ac_arg
3129
3086
else
3130
3087
  echo "$as_me: failed program was:" >&5
3213
3170
  am_depcomp="$ac_aux_dir/depcomp"
3214
3171
  AMDEPBACKSLASH='\'
3215
3172
fi
3216
 
 
3217
 
 
3218
 
if test "x$enable_dependency_tracking" != xno; then
 
3173
 if test "x$enable_dependency_tracking" != xno; then
3219
3174
  AMDEP_TRUE=
3220
3175
  AMDEP_FALSE='#'
3221
3176
else
3225
3180
 
3226
3181
 
3227
3182
 
3228
 
 
3229
3183
depcc="$CC"   am_compiler_list=
3230
3184
 
3231
3185
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3293
3247
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3294
3248
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3295
3249
         >/dev/null 2>conftest.err &&
 
3250
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3296
3251
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3297
3252
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3298
3253
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3322
3277
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3323
3278
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3324
3279
 
3325
 
 
3326
 
 
3327
 
if
 
3280
 if
3328
3281
  test "x$enable_dependency_tracking" != xno \
3329
3282
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3330
3283
  am__fastdepCC_TRUE=
3369
3322
  IFS=$as_save_IFS
3370
3323
  test -z "$as_dir" && as_dir=.
3371
3324
  for ac_exec_ext in '' $ac_executable_extensions; do
3372
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3325
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373
3326
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3374
3327
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3375
3328
    break 2
3412
3365
  IFS=$as_save_IFS
3413
3366
  test -z "$as_dir" && as_dir=.
3414
3367
  for ac_exec_ext in '' $ac_executable_extensions; do
3415
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3416
3369
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3417
3370
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3418
3371
    break 2
3483
3436
  enable_recall=yes
3484
3437
fi
3485
3438
 
3486
 
 
3487
 
 
3488
 
if test x$enable_recall == xyes; then
 
3439
 if test x$enable_recall == xyes; then
3489
3440
  BUILD_RECALL_TRUE=
3490
3441
  BUILD_RECALL_FALSE='#'
3491
3442
else
3501
3452
  enable_video=yes
3502
3453
fi
3503
3454
 
3504
 
 
3505
 
 
3506
 
if test x$enable_video == xyes; then
 
3455
 if test x$enable_video == xyes; then
3507
3456
  BUILD_VIDEO_TRUE=
3508
3457
  BUILD_VIDEO_FALSE='#'
3509
3458
else
3519
3468
  enable_keymaps=yes
3520
3469
fi
3521
3470
 
3522
 
 
3523
 
 
3524
 
if test x$enable_keymaps == xyes; then
 
3471
 if test x$enable_keymaps == xyes; then
3525
3472
  BUILD_KEYMAPS_TRUE=
3526
3473
  BUILD_KEYMAPS_FALSE='#'
3527
3474
else
3537
3484
  enable_killswitch_dell_wlan=yes
3538
3485
fi
3539
3486
 
3540
 
 
3541
 
 
3542
 
if test x$enable_killswitch_dell_wlan == xyes; then
 
3487
 if test x$enable_killswitch_dell_wlan == xyes; then
3543
3488
  BUILD_KILLSWITCH_DELL_WLAN_TRUE=
3544
3489
  BUILD_KILLSWITCH_DELL_WLAN_FALSE='#'
3545
3490
else
3555
3500
  enable_killswitch_dell_bluetooth=yes
3556
3501
fi
3557
3502
 
3558
 
 
3559
 
 
3560
 
if test x$enable_killswitch_dell_bluetooth == xyes; then
 
3503
 if test x$enable_killswitch_dell_bluetooth == xyes; then
3561
3504
  BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE=
3562
3505
  BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE='#'
3563
3506
else
3573
3516
  enable_killswitch_dell_wwan=yes
3574
3517
fi
3575
3518
 
3576
 
 
3577
 
 
3578
 
if test x$enable_killswitch_dell_wwan == xyes; then
 
3519
 if test x$enable_killswitch_dell_wwan == xyes; then
3579
3520
  BUILD_KILLSWITCH_DELL_WWAN_TRUE=
3580
3521
  BUILD_KILLSWITCH_DELL_WWAN_FALSE='#'
3581
3522
else
3591
3532
  enable_killswitch_sony_bluetooth=yes
3592
3533
fi
3593
3534
 
3594
 
 
3595
 
 
3596
 
if test x$enable_killswitch_sony_bluetooth == xyes; then
 
3535
 if test x$enable_killswitch_sony_bluetooth == xyes; then
3597
3536
  BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE=
3598
3537
  BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE='#'
3599
3538
else
3609
3548
  enable_killswitch_thinkpad_bluetooth=yes
3610
3549
fi
3611
3550
 
3612
 
 
3613
 
 
3614
 
if test x$enable_killswitch_thinkpad_bluetooth == xyes; then
 
3551
 if test x$enable_killswitch_thinkpad_bluetooth == xyes; then
3615
3552
  BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE=
3616
3553
  BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE='#'
3617
3554
else
3627
3564
  enable_killswitch_ipw_wlan=yes
3628
3565
fi
3629
3566
 
3630
 
 
3631
 
 
3632
 
if test x$enable_killswitch_ipw_wlan == xyes; then
 
3567
 if test x$enable_killswitch_ipw_wlan == xyes; then
3633
3568
  BUILD_KILLSWITCH_IPW_WLAN_TRUE=
3634
3569
  BUILD_KILLSWITCH_IPW_WLAN_FALSE='#'
3635
3570
else
3837
3772
## M4sh Initialization.  ##
3838
3773
## --------------------- ##
3839
3774
 
3840
 
# Be Bourne compatible
 
3775
# Be more Bourne compatible
 
3776
DUALCASE=1; export DUALCASE # for MKS sh
3841
3777
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3842
3778
  emulate sh
3843
3779
  NULLCMD=:
3846
3782
  alias -g '${1+"$@"}'='"$@"'
3847
3783
  setopt NO_GLOB_SUBST
3848
3784
else
3849
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
3785
  case `(set -o) 2>/dev/null` in
 
3786
  *posix*) set -o posix ;;
 
3787
esac
 
3788
 
3850
3789
fi
3851
 
BIN_SH=xpg4; export BIN_SH # for Tru64
3852
 
DUALCASE=1; export DUALCASE # for MKS sh
 
3790
 
 
3791
 
3853
3792
 
3854
3793
 
3855
3794
# PATH needs CR
4073
4012
  as_mkdir_p=false
4074
4013
fi
4075
4014
 
4076
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
4077
 
# systems may use methods other than mode bits to determine executability.
4078
 
cat >conf$$.file <<_ASEOF
4079
 
#! /bin/sh
4080
 
exit 0
4081
 
_ASEOF
4082
 
chmod +x conf$$.file
4083
 
if test -x conf$$.file >/dev/null 2>&1; then
4084
 
  as_executable_p="test -x"
 
4015
if test -x / >/dev/null 2>&1; then
 
4016
  as_test_x='test -x'
4085
4017
else
4086
 
  as_executable_p=:
 
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
  '
4087
4035
fi
4088
 
rm -f conf$$.file
 
4036
as_executable_p=$as_test_x
4089
4037
 
4090
4038
# Sed expression to map a string onto a valid CPP name.
4091
4039
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4101
4049
# values after options handling.
4102
4050
ac_log="
4103
4051
This file was extended by hal-info $as_me 20080508, which was
4104
 
generated by GNU Autoconf 2.60.  Invocation command line was
 
4052
generated by GNU Autoconf 2.61.  Invocation command line was
4105
4053
 
4106
4054
  CONFIG_FILES    = $CONFIG_FILES
4107
4055
  CONFIG_HEADERS  = $CONFIG_HEADERS
4130
4078
Usage: $0 [OPTIONS] [FILE]...
4131
4079
 
4132
4080
  -h, --help       print this help, then exit
4133
 
  -V, --version    print version number, then exit
 
4081
  -V, --version    print version number and configuration settings, then exit
4134
4082
  -q, --quiet      do not print progress messages
4135
4083
  -d, --debug      don't remove temporary files
4136
4084
      --recheck    update $as_me by reconfiguring in the same conditions
4154
4102
cat >>$CONFIG_STATUS <<_ACEOF
4155
4103
ac_cs_version="\\
4156
4104
hal-info config.status 20080508
4157
 
configured by $0, generated by GNU Autoconf 2.60,
 
4105
configured by $0, generated by GNU Autoconf 2.61,
4158
4106
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4159
4107
 
4160
4108
Copyright (C) 2006 Free Software Foundation, Inc.
4164
4112
ac_pwd='$ac_pwd'
4165
4113
srcdir='$srcdir'
4166
4114
INSTALL='$INSTALL'
 
4115
MKDIR_P='$MKDIR_P'
4167
4116
_ACEOF
4168
4117
 
4169
4118
cat >>$CONFIG_STATUS <<\_ACEOF
4379
4328
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4380
4329
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4381
4330
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
4331
am__isrc!$am__isrc$ac_delim
4382
4332
CYGPATH_W!$CYGPATH_W$ac_delim
4383
4333
PACKAGE!$PACKAGE$ac_delim
4384
4334
VERSION!$VERSION$ac_delim
4437
4387
LTLIBOBJS!$LTLIBOBJS$ac_delim
4438
4388
_ACEOF
4439
4389
 
4440
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
 
4390
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4441
4391
    break
4442
4392
  elif $ac_last_try; then
4443
4393
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4662
4612
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4663
4613
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4664
4614
  esac
 
4615
  ac_MKDIR_P=$MKDIR_P
 
4616
  case $MKDIR_P in
 
4617
  [\\/$]* | ?:[\\/]* ) ;;
 
4618
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
4619
  esac
4665
4620
_ACEOF
4666
4621
 
4667
4622
cat >>$CONFIG_STATUS <<\_ACEOF
4715
4670
s&@abs_builddir@&$ac_abs_builddir&;t t
4716
4671
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4717
4672
s&@INSTALL@&$ac_INSTALL&;t t
 
4673
s&@MKDIR_P@&$ac_MKDIR_P&;t t
4718
4674
$ac_datarootdir_hack
4719
4675
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
4720
4676
 
4830
4786
  fi
4831
4787
  rm -f "$tmp/out12"
4832
4788
# Compute $ac_file's index in $config_headers.
 
4789
_am_arg=$ac_file
4833
4790
_am_stamp_count=1
4834
4791
for _am_header in $config_headers :; do
4835
4792
  case $_am_header in
4836
 
    $ac_file | $ac_file:* )
 
4793
    $_am_arg | $_am_arg:* )
4837
4794
      break ;;
4838
4795
    * )
4839
4796
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4840
4797
  esac
4841
4798
done
4842
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
4843
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4844
 
         X$ac_file : 'X\(//\)[^/]' \| \
4845
 
         X$ac_file : 'X\(//\)$' \| \
4846
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
4847
 
echo X$ac_file |
 
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" |
4848
4805
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4849
4806
            s//\1/
4850
4807
            q
4879
4836
  # some people rename them; so instead we look at the file content.
4880
4837
  # Grep'ing the first line is not enough: some people post-process
4881
4838
  # each Makefile.in and add a new line on top of each file to say so.
4882
 
  # So let's grep whole file.
4883
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
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.
 
4841
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4884
4842
    dirpart=`$as_dirname -- "$mf" ||
4885
4843
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4886
4844
         X"$mf" : 'X\(//\)[^/]' \| \