~ubuntu-branches/ubuntu/natty/u3-tool/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Evgeni Golov
  • Date: 2009-11-24 11:36:34 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091124113634-fu5nx0ntsxb9y7f1
Tags: 0.3-1
* New upstream release
* debian/watch:
  + Make watchfile working, as upstream has tarballs now.
* debian/README.source:
  + Remove README.source, it's not needed anymore.
* debian/control:
  + Standards-Version: 3.8.3
* debian/rules:
  + Don't override configure, upstream installs in sbin now.
* debian/u3-tool.links:
  + Remove the links, we ship only one backend now.
* debian/control:
  + Update years and upstream url.

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.61 for u3-tool 0.2.
 
3
# Generated by GNU Autoconf 2.63 for u3-tool 0.3.
4
4
#
5
5
# Report bugs to <daviedev@users.sourceforge.net>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
## --------------------- ##
17
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
18
  emulate sh
19
19
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
21
  # is contrary to our usage.  Disable this feature.
22
22
  alias -g '${1+"$@"}'='"$@"'
23
23
  setopt NO_GLOB_SUBST
39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
42
74
# The user is always right.
43
75
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
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
53
81
fi
54
82
 
55
83
# Support unset when possible.
65
93
# there to prevent editors from complaining about space-tab.
66
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
95
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
96
IFS=" ""        $as_nl"
71
97
 
72
98
# Find who we are.  Look in the path if we contain no directory separator.
89
115
  as_myself=$0
90
116
fi
91
117
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
119
  { (exit 1); exit 1; }
94
120
fi
95
121
 
102
128
PS4='+ '
103
129
 
104
130
# 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
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
116
135
 
117
136
# Required to use basename.
118
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
134
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
154
         X"$0" : 'X\(//\)$' \| \
136
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
 
156
$as_echo X/"$0" |
138
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
158
            s//\1/
140
159
            q
160
179
  as_have_required=no
161
180
fi
162
181
 
163
 
  if test $as_have_required = yes &&     (eval ":
 
182
  if test $as_have_required = yes &&     (eval ":
164
183
(as_func_return () {
165
184
  (exit \$1)
166
185
}
242
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
262
  emulate sh
244
263
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
265
  # is contrary to our usage.  Disable this feature.
247
266
  alias -g '${1+"$@"}'='"$@"'
248
267
  setopt NO_GLOB_SUBST
263
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
283
  emulate sh
265
284
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
286
  # is contrary to our usage.  Disable this feature.
268
287
  alias -g '${1+"$@"}'='"$@"'
269
288
  setopt NO_GLOB_SUBST
343
362
 
344
363
      if test "x$CONFIG_SHELL" != x; then
345
364
  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+"$@"}
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
369
fi
351
370
 
352
371
 
415
434
 
416
435
test \$exitcode = 0") || {
417
436
  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
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
421
441
}
422
442
 
423
443
 
453
473
      s/-\n.*//
454
474
    ' >$as_me.lineno &&
455
475
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
477
   { (exit 1); exit 1; }; }
458
478
 
459
479
  # Don't try to exec as it changes $[0], causing all sort of problems
481
501
*)
482
502
  ECHO_N='-n';;
483
503
esac
484
 
 
485
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
506
  as_expr=expr
494
513
  rm -f conf$$.dir/conf$$.file
495
514
else
496
515
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
498
517
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 ||
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
507
530
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
531
  fi
510
532
else
511
533
  as_ln_s='cp -p'
512
534
fi
531
553
  as_test_x='
532
554
    eval sh -c '\''
533
555
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
556
        test -d "$1/.";
535
557
      else
536
558
        case $1 in
537
 
        -*)set "./$1";;
 
559
        -*)set "./$1";;
538
560
        esac;
539
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
562
        ???[sx]*):;;*)false;;esac;fi
574
596
# Identity of this package.
575
597
PACKAGE_NAME='u3-tool'
576
598
PACKAGE_TARNAME='u3-tool'
577
 
PACKAGE_VERSION='0.2'
578
 
PACKAGE_STRING='u3-tool 0.2'
 
599
PACKAGE_VERSION='0.3'
 
600
PACKAGE_STRING='u3-tool 0.3'
579
601
PACKAGE_BUGREPORT='daviedev@users.sourceforge.net'
580
602
 
581
603
ac_unique_file="config.h.in"
615
637
# include <unistd.h>
616
638
#endif"
617
639
 
618
 
ac_subst_vars='SHELL
 
640
ac_subst_vars='LTLIBOBJS
 
641
LIBOBJS
 
642
EGREP
 
643
GREP
 
644
CPP
 
645
am__fastdepCC_FALSE
 
646
am__fastdepCC_TRUE
 
647
CCDEPMODE
 
648
AMDEPBACKSLASH
 
649
AMDEP_FALSE
 
650
AMDEP_TRUE
 
651
am__quote
 
652
am__include
 
653
DEPDIR
 
654
OBJEXT
 
655
EXEEXT
 
656
ac_ct_CC
 
657
CPPFLAGS
 
658
LDFLAGS
 
659
CFLAGS
 
660
CC
 
661
host_os
 
662
host_vendor
 
663
host_cpu
 
664
host
 
665
build_os
 
666
build_vendor
 
667
build_cpu
 
668
build
 
669
am__untar
 
670
am__tar
 
671
AMTAR
 
672
am__leading_dot
 
673
SET_MAKE
 
674
AWK
 
675
mkdir_p
 
676
MKDIR_P
 
677
INSTALL_STRIP_PROGRAM
 
678
STRIP
 
679
install_sh
 
680
MAKEINFO
 
681
AUTOHEADER
 
682
AUTOMAKE
 
683
AUTOCONF
 
684
ACLOCAL
 
685
VERSION
 
686
PACKAGE
 
687
CYGPATH_W
 
688
am__isrc
 
689
INSTALL_DATA
 
690
INSTALL_SCRIPT
 
691
INSTALL_PROGRAM
 
692
target_alias
 
693
host_alias
 
694
build_alias
 
695
LIBS
 
696
ECHO_T
 
697
ECHO_N
 
698
ECHO_C
 
699
DEFS
 
700
mandir
 
701
localedir
 
702
libdir
 
703
psdir
 
704
pdfdir
 
705
dvidir
 
706
htmldir
 
707
infodir
 
708
docdir
 
709
oldincludedir
 
710
includedir
 
711
localstatedir
 
712
sharedstatedir
 
713
sysconfdir
 
714
datadir
 
715
datarootdir
 
716
libexecdir
 
717
sbindir
 
718
bindir
 
719
program_transform_name
 
720
prefix
 
721
exec_prefix
 
722
PACKAGE_BUGREPORT
 
723
PACKAGE_STRING
 
724
PACKAGE_VERSION
 
725
PACKAGE_TARNAME
 
726
PACKAGE_NAME
619
727
PATH_SEPARATOR
620
 
PACKAGE_NAME
621
 
PACKAGE_TARNAME
622
 
PACKAGE_VERSION
623
 
PACKAGE_STRING
624
 
PACKAGE_BUGREPORT
625
 
exec_prefix
626
 
prefix
627
 
program_transform_name
628
 
bindir
629
 
sbindir
630
 
libexecdir
631
 
datarootdir
632
 
datadir
633
 
sysconfdir
634
 
sharedstatedir
635
 
localstatedir
636
 
includedir
637
 
oldincludedir
638
 
docdir
639
 
infodir
640
 
htmldir
641
 
dvidir
642
 
pdfdir
643
 
psdir
644
 
libdir
645
 
localedir
646
 
mandir
647
 
DEFS
648
 
ECHO_C
649
 
ECHO_N
650
 
ECHO_T
651
 
LIBS
652
 
build_alias
653
 
host_alias
654
 
target_alias
655
 
INSTALL_PROGRAM
656
 
INSTALL_SCRIPT
657
 
INSTALL_DATA
658
 
am__isrc
659
 
CYGPATH_W
660
 
PACKAGE
661
 
VERSION
662
 
ACLOCAL
663
 
AUTOCONF
664
 
AUTOMAKE
665
 
AUTOHEADER
666
 
MAKEINFO
667
 
install_sh
668
 
STRIP
669
 
INSTALL_STRIP_PROGRAM
670
 
mkdir_p
671
 
AWK
672
 
SET_MAKE
673
 
am__leading_dot
674
 
AMTAR
675
 
am__tar
676
 
am__untar
677
 
CC
678
 
CFLAGS
679
 
LDFLAGS
680
 
CPPFLAGS
681
 
ac_ct_CC
682
 
EXEEXT
683
 
OBJEXT
684
 
DEPDIR
685
 
am__include
686
 
am__quote
687
 
AMDEP_TRUE
688
 
AMDEP_FALSE
689
 
AMDEPBACKSLASH
690
 
CCDEPMODE
691
 
am__fastdepCC_TRUE
692
 
am__fastdepCC_FALSE
693
 
PKG_CONFIG
694
 
LIBUSB_CFLAGS
695
 
LIBUSB_LIBS
696
 
HAVE_LIBUSB_TRUE
697
 
HAVE_LIBUSB_FALSE
698
 
CPP
699
 
GREP
700
 
EGREP
701
 
LIBOBJS
702
 
LTLIBOBJS'
 
728
SHELL'
703
729
ac_subst_files=''
 
730
ac_user_opts='
 
731
enable_option_checking
 
732
enable_dependency_tracking
 
733
enable_libusb
 
734
'
704
735
      ac_precious_vars='build_alias
705
736
host_alias
706
737
target_alias
709
740
LDFLAGS
710
741
LIBS
711
742
CPPFLAGS
712
 
PKG_CONFIG
713
 
LIBUSB_CFLAGS
714
 
LIBUSB_LIBS
715
743
CPP'
716
744
 
717
745
 
718
746
# Initialize some variables set by options.
719
747
ac_init_help=
720
748
ac_init_version=false
 
749
ac_unrecognized_opts=
 
750
ac_unrecognized_sep=
721
751
# The variables have the same names as the options, with
722
752
# dashes changed to underlines.
723
753
cache_file=/dev/null
816
846
    datarootdir=$ac_optarg ;;
817
847
 
818
848
  -disable-* | --disable-*)
819
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
849
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
820
850
    # Reject names that are not valid shell variable names.
821
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
822
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
851
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
852
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
823
853
   { (exit 1); exit 1; }; }
824
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
825
 
    eval enable_$ac_feature=no ;;
 
854
    ac_useropt_orig=$ac_useropt
 
855
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
856
    case $ac_user_opts in
 
857
      *"
 
858
"enable_$ac_useropt"
 
859
"*) ;;
 
860
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
861
         ac_unrecognized_sep=', ';;
 
862
    esac
 
863
    eval enable_$ac_useropt=no ;;
826
864
 
827
865
  -docdir | --docdir | --docdi | --doc | --do)
828
866
    ac_prev=docdir ;;
835
873
    dvidir=$ac_optarg ;;
836
874
 
837
875
  -enable-* | --enable-*)
838
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
876
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839
877
    # Reject names that are not valid shell variable names.
840
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
841
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
878
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
879
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
842
880
   { (exit 1); exit 1; }; }
843
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
844
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
881
    ac_useropt_orig=$ac_useropt
 
882
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
883
    case $ac_user_opts in
 
884
      *"
 
885
"enable_$ac_useropt"
 
886
"*) ;;
 
887
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
888
         ac_unrecognized_sep=', ';;
 
889
    esac
 
890
    eval enable_$ac_useropt=\$ac_optarg ;;
845
891
 
846
892
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847
893
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032
1078
    ac_init_version=: ;;
1033
1079
 
1034
1080
  -with-* | --with-*)
1035
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1081
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036
1082
    # Reject names that are not valid shell variable names.
1037
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1083
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1084
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1039
1085
   { (exit 1); exit 1; }; }
1040
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1041
 
    eval with_$ac_package=\$ac_optarg ;;
 
1086
    ac_useropt_orig=$ac_useropt
 
1087
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1088
    case $ac_user_opts in
 
1089
      *"
 
1090
"with_$ac_useropt"
 
1091
"*) ;;
 
1092
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1093
         ac_unrecognized_sep=', ';;
 
1094
    esac
 
1095
    eval with_$ac_useropt=\$ac_optarg ;;
1042
1096
 
1043
1097
  -without-* | --without-*)
1044
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1098
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1045
1099
    # Reject names that are not valid shell variable names.
1046
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1100
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1101
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1048
1102
   { (exit 1); exit 1; }; }
1049
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1050
 
    eval with_$ac_package=no ;;
 
1103
    ac_useropt_orig=$ac_useropt
 
1104
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1105
    case $ac_user_opts in
 
1106
      *"
 
1107
"with_$ac_useropt"
 
1108
"*) ;;
 
1109
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1110
         ac_unrecognized_sep=', ';;
 
1111
    esac
 
1112
    eval with_$ac_useropt=no ;;
1051
1113
 
1052
1114
  --x)
1053
1115
    # Obsolete; use --with-x.
1067
1129
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1068
1130
    x_libraries=$ac_optarg ;;
1069
1131
 
1070
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1132
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1071
1133
Try \`$0 --help' for more information." >&2
1072
1134
   { (exit 1); exit 1; }; }
1073
1135
    ;;
1076
1138
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1077
1139
    # Reject names that are not valid shell variable names.
1078
1140
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1079
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1141
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1080
1142
   { (exit 1); exit 1; }; }
1081
1143
    eval $ac_envvar=\$ac_optarg
1082
1144
    export $ac_envvar ;;
1083
1145
 
1084
1146
  *)
1085
1147
    # FIXME: should be removed in autoconf 3.0.
1086
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1148
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087
1149
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1150
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089
1151
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090
1152
    ;;
1091
1153
 
1094
1156
 
1095
1157
if test -n "$ac_prev"; then
1096
1158
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1097
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1159
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1098
1160
   { (exit 1); exit 1; }; }
1099
1161
fi
1100
1162
 
1101
 
# Be sure to have absolute directory names.
 
1163
if test -n "$ac_unrecognized_opts"; then
 
1164
  case $enable_option_checking in
 
1165
    no) ;;
 
1166
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1167
   { (exit 1); exit 1; }; } ;;
 
1168
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1169
  esac
 
1170
fi
 
1171
 
 
1172
# Check all directory arguments for consistency.
1102
1173
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1103
1174
                datadir sysconfdir sharedstatedir localstatedir includedir \
1104
1175
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1105
1176
                libdir localedir mandir
1106
1177
do
1107
1178
  eval ac_val=\$$ac_var
 
1179
  # Remove trailing slashes.
 
1180
  case $ac_val in
 
1181
    */ )
 
1182
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1183
      eval $ac_var=\$ac_val;;
 
1184
  esac
 
1185
  # Be sure to have absolute directory names.
1108
1186
  case $ac_val in
1109
1187
    [\\/$]* | ?:[\\/]* )  continue;;
1110
1188
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1111
1189
  esac
1112
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1190
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1113
1191
   { (exit 1); exit 1; }; }
1114
1192
done
1115
1193
 
1124
1202
if test "x$host_alias" != x; then
1125
1203
  if test "x$build_alias" = x; then
1126
1204
    cross_compiling=maybe
1127
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1205
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1128
1206
    If a cross compiler is detected then cross compile mode will be used." >&2
1129
1207
  elif test "x$build_alias" != "x$host_alias"; then
1130
1208
    cross_compiling=yes
1140
1218
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1141
1219
ac_ls_di=`ls -di .` &&
1142
1220
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1143
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1221
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1144
1222
   { (exit 1); exit 1; }; }
1145
1223
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1224
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1147
1225
   { (exit 1); exit 1; }; }
1148
1226
 
1149
1227
 
1151
1229
if test -z "$srcdir"; then
1152
1230
  ac_srcdir_defaulted=yes
1153
1231
  # Try the directory containing this script, then the parent directory.
1154
 
  ac_confdir=`$as_dirname -- "$0" ||
1155
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1156
 
         X"$0" : 'X\(//\)[^/]' \| \
1157
 
         X"$0" : 'X\(//\)$' \| \
1158
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1159
 
echo X"$0" |
 
1232
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1233
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1234
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1235
         X"$as_myself" : 'X\(//\)$' \| \
 
1236
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1237
$as_echo X"$as_myself" |
1160
1238
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1161
1239
            s//\1/
1162
1240
            q
1183
1261
fi
1184
1262
if test ! -r "$srcdir/$ac_unique_file"; then
1185
1263
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1186
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1264
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1187
1265
   { (exit 1); exit 1; }; }
1188
1266
fi
1189
1267
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1190
1268
ac_abs_confdir=`(
1191
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1269
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1192
1270
   { (exit 1); exit 1; }; }
1193
1271
        pwd)`
1194
1272
# When building in place, set srcdir=.
1215
1293
  # Omit some internal or obsolete options to make the list less imposing.
1216
1294
  # This message is too long to be a string in the A/UX 3.1 sh.
1217
1295
  cat <<_ACEOF
1218
 
\`configure' configures u3-tool 0.2 to adapt to many kinds of systems.
 
1296
\`configure' configures u3-tool 0.3 to adapt to many kinds of systems.
1219
1297
 
1220
1298
Usage: $0 [OPTION]... [VAR=VALUE]...
1221
1299
 
1237
1315
 
1238
1316
Installation directories:
1239
1317
  --prefix=PREFIX         install architecture-independent files in PREFIX
1240
 
                          [$ac_default_prefix]
 
1318
                          [$ac_default_prefix]
1241
1319
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1242
 
                          [PREFIX]
 
1320
                          [PREFIX]
1243
1321
 
1244
1322
By default, \`make install' will install all the files in
1245
1323
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1249
1327
For better control, use the options below.
1250
1328
 
1251
1329
Fine tuning of the installation directories:
1252
 
  --bindir=DIR           user executables [EPREFIX/bin]
1253
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1254
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1255
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1256
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1257
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1258
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1259
 
  --includedir=DIR       C header files [PREFIX/include]
1260
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1261
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1262
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1263
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1264
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1265
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1266
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/u3-tool]
1267
 
  --htmldir=DIR          html documentation [DOCDIR]
1268
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1269
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1270
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1330
  --bindir=DIR            user executables [EPREFIX/bin]
 
1331
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1332
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1333
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1334
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1335
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1336
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1337
  --includedir=DIR        C header files [PREFIX/include]
 
1338
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1339
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1340
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1341
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1342
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1343
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1344
  --docdir=DIR            documentation root [DATAROOTDIR/doc/u3-tool]
 
1345
  --htmldir=DIR           html documentation [DOCDIR]
 
1346
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1347
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1348
  --psdir=DIR             ps documentation [DOCDIR]
1271
1349
_ACEOF
1272
1350
 
1273
1351
  cat <<\_ACEOF
1276
1354
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1277
1355
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1278
1356
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1357
 
 
1358
System types:
 
1359
  --build=BUILD     configure for building on BUILD [guessed]
 
1360
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1279
1361
_ACEOF
1280
1362
fi
1281
1363
 
1282
1364
if test -n "$ac_init_help"; then
1283
1365
  case $ac_init_help in
1284
 
     short | recursive ) echo "Configuration of u3-tool 0.2:";;
 
1366
     short | recursive ) echo "Configuration of u3-tool 0.3:";;
1285
1367
   esac
1286
1368
  cat <<\_ACEOF
1287
1369
 
1288
1370
Optional Features:
 
1371
  --disable-option-checking  ignore unrecognized --enable/--with options
1289
1372
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1290
1373
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1291
1374
  --disable-dependency-tracking  speeds up one-time build
1292
1375
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1376
  --enable-libusb    Force using libUSB subsystem instead of platform specific
1293
1377
 
1294
1378
Some influential environment variables:
1295
1379
  CC          C compiler command
1299
1383
  LIBS        libraries to pass to the linker, e.g. -l<library>
1300
1384
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1301
1385
              you have headers in a nonstandard directory <include dir>
1302
 
  PKG_CONFIG  path to pkg-config utility
1303
 
  LIBUSB_CFLAGS
1304
 
              C compiler flags for LIBUSB, overriding pkg-config
1305
 
  LIBUSB_LIBS linker flags for LIBUSB, overriding pkg-config
1306
1386
  CPP         C preprocessor
1307
1387
 
1308
1388
Use these variables to override the choices made by `configure' or to help
1316
1396
if test "$ac_init_help" = "recursive"; then
1317
1397
  # If there are subdirs, report their specific --help.
1318
1398
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319
 
    test -d "$ac_dir" || continue
 
1399
    test -d "$ac_dir" ||
 
1400
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1401
      continue
1320
1402
    ac_builddir=.
1321
1403
 
1322
1404
case "$ac_dir" in
1323
1405
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324
1406
*)
1325
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1407
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326
1408
  # A ".." for each directory in $ac_dir_suffix.
1327
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1409
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328
1410
  case $ac_top_builddir_sub in
1329
1411
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330
1412
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1360
1442
      echo &&
1361
1443
      $SHELL "$ac_srcdir/configure" --help=recursive
1362
1444
    else
1363
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1445
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364
1446
    fi || ac_status=$?
1365
1447
    cd "$ac_pwd" || { ac_status=$?; break; }
1366
1448
  done
1369
1451
test -n "$ac_init_help" && exit $ac_status
1370
1452
if $ac_init_version; then
1371
1453
  cat <<\_ACEOF
1372
 
u3-tool configure 0.2
1373
 
generated by GNU Autoconf 2.61
 
1454
u3-tool configure 0.3
 
1455
generated by GNU Autoconf 2.63
1374
1456
 
1375
1457
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1376
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1458
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1377
1459
This configure script is free software; the Free Software Foundation
1378
1460
gives unlimited permission to copy, distribute and modify it.
1379
1461
_ACEOF
1383
1465
This file contains any messages produced by compilers while
1384
1466
running configure, to aid debugging if configure makes a mistake.
1385
1467
 
1386
 
It was created by u3-tool $as_me 0.2, which was
1387
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1468
It was created by u3-tool $as_me 0.3, which was
 
1469
generated by GNU Autoconf 2.63.  Invocation command line was
1388
1470
 
1389
1471
  $ $0 $@
1390
1472
 
1420
1502
do
1421
1503
  IFS=$as_save_IFS
1422
1504
  test -z "$as_dir" && as_dir=.
1423
 
  echo "PATH: $as_dir"
 
1505
  $as_echo "PATH: $as_dir"
1424
1506
done
1425
1507
IFS=$as_save_IFS
1426
1508
 
1455
1537
    | -silent | --silent | --silen | --sile | --sil)
1456
1538
      continue ;;
1457
1539
    *\'*)
1458
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1540
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459
1541
    esac
1460
1542
    case $ac_pass in
1461
1543
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1507
1589
    case $ac_val in #(
1508
1590
    *${as_nl}*)
1509
1591
      case $ac_var in #(
1510
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1511
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1592
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1593
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1512
1594
      esac
1513
1595
      case $ac_var in #(
1514
1596
      _ | IFS | as_nl) ;; #(
 
1597
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1515
1598
      *) $as_unset $ac_var ;;
1516
1599
      esac ;;
1517
1600
    esac
1541
1624
    do
1542
1625
      eval ac_val=\$$ac_var
1543
1626
      case $ac_val in
1544
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1627
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545
1628
      esac
1546
 
      echo "$ac_var='\''$ac_val'\''"
 
1629
      $as_echo "$ac_var='\''$ac_val'\''"
1547
1630
    done | sort
1548
1631
    echo
1549
1632
 
1558
1641
      do
1559
1642
        eval ac_val=\$$ac_var
1560
1643
        case $ac_val in
1561
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1644
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562
1645
        esac
1563
 
        echo "$ac_var='\''$ac_val'\''"
 
1646
        $as_echo "$ac_var='\''$ac_val'\''"
1564
1647
      done | sort
1565
1648
      echo
1566
1649
    fi
1576
1659
      echo
1577
1660
    fi
1578
1661
    test "$ac_signal" != 0 &&
1579
 
      echo "$as_me: caught signal $ac_signal"
1580
 
    echo "$as_me: exit $exit_status"
 
1662
      $as_echo "$as_me: caught signal $ac_signal"
 
1663
    $as_echo "$as_me: exit $exit_status"
1581
1664
  } >&5
1582
1665
  rm -f core *.core core.conftest.* &&
1583
1666
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1619
1702
 
1620
1703
 
1621
1704
# Let the site file select an alternate cache file if it wants to.
1622
 
# Prefer explicitly selected file to automatically selected ones.
 
1705
# Prefer an explicitly selected file to automatically selected ones.
 
1706
ac_site_file1=NONE
 
1707
ac_site_file2=NONE
1623
1708
if test -n "$CONFIG_SITE"; then
1624
 
  set x "$CONFIG_SITE"
 
1709
  ac_site_file1=$CONFIG_SITE
1625
1710
elif test "x$prefix" != xNONE; then
1626
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1711
  ac_site_file1=$prefix/share/config.site
 
1712
  ac_site_file2=$prefix/etc/config.site
1627
1713
else
1628
 
  set x "$ac_default_prefix/share/config.site" \
1629
 
        "$ac_default_prefix/etc/config.site"
 
1714
  ac_site_file1=$ac_default_prefix/share/config.site
 
1715
  ac_site_file2=$ac_default_prefix/etc/config.site
1630
1716
fi
1631
 
shift
1632
 
for ac_site_file
 
1717
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1633
1718
do
 
1719
  test "x$ac_site_file" = xNONE && continue
1634
1720
  if test -r "$ac_site_file"; then
1635
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1636
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1721
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1722
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1637
1723
    sed 's/^/| /' "$ac_site_file" >&5
1638
1724
    . "$ac_site_file"
1639
1725
  fi
1643
1729
  # Some versions of bash will fail to source /dev/null (special
1644
1730
  # files actually), so we avoid doing that.
1645
1731
  if test -f "$cache_file"; then
1646
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1732
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1733
$as_echo "$as_me: loading cache $cache_file" >&6;}
1648
1734
    case $cache_file in
1649
1735
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650
1736
      *)                      . "./$cache_file";;
1651
1737
    esac
1652
1738
  fi
1653
1739
else
1654
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1655
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1740
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1741
$as_echo "$as_me: creating cache $cache_file" >&6;}
1656
1742
  >$cache_file
1657
1743
fi
1658
1744
 
1666
1752
  eval ac_new_val=\$ac_env_${ac_var}_value
1667
1753
  case $ac_old_set,$ac_new_set in
1668
1754
    set,)
1669
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1670
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1755
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1756
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1671
1757
      ac_cache_corrupted=: ;;
1672
1758
    ,set)
1673
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1674
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1759
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1760
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1675
1761
      ac_cache_corrupted=: ;;
1676
1762
    ,);;
1677
1763
    *)
1678
1764
      if test "x$ac_old_val" != "x$ac_new_val"; then
1679
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1680
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1681
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1682
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1683
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1684
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1685
 
        ac_cache_corrupted=:
 
1765
        # differences in whitespace do not lead to failure.
 
1766
        ac_old_val_w=`echo x $ac_old_val`
 
1767
        ac_new_val_w=`echo x $ac_new_val`
 
1768
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1769
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1770
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1771
          ac_cache_corrupted=:
 
1772
        else
 
1773
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1774
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1775
          eval $ac_var=\$ac_old_val
 
1776
        fi
 
1777
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1778
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1779
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1780
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1686
1781
      fi;;
1687
1782
  esac
1688
1783
  # Pass precious variables to config.status.
1689
1784
  if test "$ac_new_set" = set; then
1690
1785
    case $ac_new_val in
1691
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1786
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1692
1787
    *) ac_arg=$ac_var=$ac_new_val ;;
1693
1788
    esac
1694
1789
    case " $ac_configure_args " in
1698
1793
  fi
1699
1794
done
1700
1795
if $ac_cache_corrupted; then
1701
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1702
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1703
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1704
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1796
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1797
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1798
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1799
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1800
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1801
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1705
1802
   { (exit 1); exit 1; }; }
1706
1803
fi
1707
1804
 
1755
1852
  fi
1756
1853
done
1757
1854
if test -z "$ac_aux_dir"; then
1758
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1759
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1855
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1856
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1760
1857
   { (exit 1); exit 1; }; }
1761
1858
fi
1762
1859
 
1782
1879
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1783
1880
# OS/2's system install, which has a completely different semantic
1784
1881
# ./install, which can be erroneously created by make from ./install.sh.
1785
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1786
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1882
# Reject install programs that cannot install multiple files.
 
1883
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1884
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1787
1885
if test -z "$INSTALL"; then
1788
1886
if test "${ac_cv_path_install+set}" = set; then
1789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1887
  $as_echo_n "(cached) " >&6
1790
1888
else
1791
1889
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792
1890
for as_dir in $PATH
1815
1913
            # program-specific install script used by HP pwplus--don't use.
1816
1914
            :
1817
1915
          else
1818
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1819
 
            break 3
 
1916
            rm -rf conftest.one conftest.two conftest.dir
 
1917
            echo one > conftest.one
 
1918
            echo two > conftest.two
 
1919
            mkdir conftest.dir
 
1920
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1921
              test -s conftest.one && test -s conftest.two &&
 
1922
              test -s conftest.dir/conftest.one &&
 
1923
              test -s conftest.dir/conftest.two
 
1924
            then
 
1925
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1926
              break 3
 
1927
            fi
1820
1928
          fi
1821
1929
        fi
1822
1930
      done
1823
1931
    done
1824
1932
    ;;
1825
1933
esac
 
1934
 
1826
1935
done
1827
1936
IFS=$as_save_IFS
1828
1937
 
 
1938
rm -rf conftest.one conftest.two conftest.dir
1829
1939
 
1830
1940
fi
1831
1941
  if test "${ac_cv_path_install+set}" = set; then
1838
1948
    INSTALL=$ac_install_sh
1839
1949
  fi
1840
1950
fi
1841
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1842
 
echo "${ECHO_T}$INSTALL" >&6; }
 
1951
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1952
$as_echo "$INSTALL" >&6; }
1843
1953
 
1844
1954
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1845
1955
# It thinks the first close brace ends the variable substitution.
1849
1959
 
1850
1960
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1851
1961
 
1852
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1853
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1962
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1963
$as_echo_n "checking whether build environment is sane... " >&6; }
1854
1964
# Just in case
1855
1965
sleep 1
1856
1966
echo timestamp > conftest.file
1873
1983
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1874
1984
      # broken ls alias from the environment.  This has actually
1875
1985
      # happened.  Such a system could not be considered "sane".
1876
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1986
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1877
1987
alias in your environment" >&5
1878
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1988
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1879
1989
alias in your environment" >&2;}
1880
1990
   { (exit 1); exit 1; }; }
1881
1991
   fi
1886
1996
   # Ok.
1887
1997
   :
1888
1998
else
1889
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1999
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1890
2000
Check your system clock" >&5
1891
 
echo "$as_me: error: newly created file is older than distributed files!
 
2001
$as_echo "$as_me: error: newly created file is older than distributed files!
1892
2002
Check your system clock" >&2;}
1893
2003
   { (exit 1); exit 1; }; }
1894
2004
fi
1895
 
{ echo "$as_me:$LINENO: result: yes" >&5
1896
 
echo "${ECHO_T}yes" >&6; }
 
2005
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2006
$as_echo "yes" >&6; }
1897
2007
test "$program_prefix" != NONE &&
1898
2008
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1899
2009
# Use a double $ so make ignores it.
1900
2010
test "$program_suffix" != NONE &&
1901
2011
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1902
 
# Double any \ or $.  echo might interpret backslashes.
 
2012
# Double any \ or $.
1903
2013
# By default was `s,x,x', remove it if useless.
1904
 
cat <<\_ACEOF >conftest.sed
1905
 
s/[\\$]/&&/g;s/;s,x,x,$//
1906
 
_ACEOF
1907
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1908
 
rm -f conftest.sed
 
2014
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2015
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1909
2016
 
1910
2017
# expand $ac_aux_dir to an absolute path
1911
2018
am_aux_dir=`cd $ac_aux_dir && pwd`
1916
2023
  am_missing_run="$MISSING --run "
1917
2024
else
1918
2025
  am_missing_run=
1919
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1920
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2026
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2027
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921
2028
fi
1922
2029
 
1923
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1924
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2030
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2031
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1925
2032
if test -z "$MKDIR_P"; then
1926
2033
  if test "${ac_cv_path_mkdir+set}" = set; then
1927
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2034
  $as_echo_n "(cached) " >&6
1928
2035
else
1929
2036
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930
2037
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1959
2066
    MKDIR_P="$ac_install_sh -d"
1960
2067
  fi
1961
2068
fi
1962
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1963
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2069
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2070
$as_echo "$MKDIR_P" >&6; }
1964
2071
 
1965
2072
mkdir_p="$MKDIR_P"
1966
2073
case $mkdir_p in
1972
2079
do
1973
2080
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1974
2081
set dummy $ac_prog; ac_word=$2
1975
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1976
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2082
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2083
$as_echo_n "checking for $ac_word... " >&6; }
1977
2084
if test "${ac_cv_prog_AWK+set}" = set; then
1978
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2085
  $as_echo_n "(cached) " >&6
1979
2086
else
1980
2087
  if test -n "$AWK"; then
1981
2088
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1988
2095
  for ac_exec_ext in '' $ac_executable_extensions; do
1989
2096
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1990
2097
    ac_cv_prog_AWK="$ac_prog"
1991
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2098
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992
2099
    break 2
1993
2100
  fi
1994
2101
done
1999
2106
fi
2000
2107
AWK=$ac_cv_prog_AWK
2001
2108
if test -n "$AWK"; then
2002
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2003
 
echo "${ECHO_T}$AWK" >&6; }
 
2109
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2110
$as_echo "$AWK" >&6; }
2004
2111
else
2005
 
  { echo "$as_me:$LINENO: result: no" >&5
2006
 
echo "${ECHO_T}no" >&6; }
 
2112
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2113
$as_echo "no" >&6; }
2007
2114
fi
2008
2115
 
2009
2116
 
2010
2117
  test -n "$AWK" && break
2011
2118
done
2012
2119
 
2013
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2014
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2015
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2120
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2121
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2122
set x ${MAKE-make}
 
2123
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2016
2124
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2017
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2125
  $as_echo_n "(cached) " >&6
2018
2126
else
2019
2127
  cat >conftest.make <<\_ACEOF
2020
2128
SHELL = /bin/sh
2031
2139
rm -f conftest.make
2032
2140
fi
2033
2141
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2034
 
  { echo "$as_me:$LINENO: result: yes" >&5
2035
 
echo "${ECHO_T}yes" >&6; }
 
2142
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2143
$as_echo "yes" >&6; }
2036
2144
  SET_MAKE=
2037
2145
else
2038
 
  { echo "$as_me:$LINENO: result: no" >&5
2039
 
echo "${ECHO_T}no" >&6; }
 
2146
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2147
$as_echo "no" >&6; }
2040
2148
  SET_MAKE="MAKE=${MAKE-make}"
2041
2149
fi
2042
2150
 
2055
2163
  am__isrc=' -I$(srcdir)'
2056
2164
  # test to see if srcdir already configured
2057
2165
  if test -f $srcdir/config.status; then
2058
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2059
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2166
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2167
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2060
2168
   { (exit 1); exit 1; }; }
2061
2169
  fi
2062
2170
fi
2073
2181
 
2074
2182
# Define the identity of the package.
2075
2183
 PACKAGE='u3-tool'
2076
 
 VERSION='0.2'
 
2184
 VERSION='0.3'
2077
2185
 
2078
2186
 
2079
2187
cat >>confdefs.h <<_ACEOF
2111
2219
  if test -n "$ac_tool_prefix"; then
2112
2220
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2113
2221
set dummy ${ac_tool_prefix}strip; ac_word=$2
2114
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2115
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2222
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2223
$as_echo_n "checking for $ac_word... " >&6; }
2116
2224
if test "${ac_cv_prog_STRIP+set}" = set; then
2117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2225
  $as_echo_n "(cached) " >&6
2118
2226
else
2119
2227
  if test -n "$STRIP"; then
2120
2228
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2127
2235
  for ac_exec_ext in '' $ac_executable_extensions; do
2128
2236
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129
2237
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2130
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2238
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131
2239
    break 2
2132
2240
  fi
2133
2241
done
2138
2246
fi
2139
2247
STRIP=$ac_cv_prog_STRIP
2140
2248
if test -n "$STRIP"; then
2141
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2142
 
echo "${ECHO_T}$STRIP" >&6; }
 
2249
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2250
$as_echo "$STRIP" >&6; }
2143
2251
else
2144
 
  { echo "$as_me:$LINENO: result: no" >&5
2145
 
echo "${ECHO_T}no" >&6; }
 
2252
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2253
$as_echo "no" >&6; }
2146
2254
fi
2147
2255
 
2148
2256
 
2151
2259
  ac_ct_STRIP=$STRIP
2152
2260
  # Extract the first word of "strip", so it can be a program name with args.
2153
2261
set dummy strip; ac_word=$2
2154
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2155
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2262
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2263
$as_echo_n "checking for $ac_word... " >&6; }
2156
2264
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2265
  $as_echo_n "(cached) " >&6
2158
2266
else
2159
2267
  if test -n "$ac_ct_STRIP"; then
2160
2268
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2167
2275
  for ac_exec_ext in '' $ac_executable_extensions; do
2168
2276
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169
2277
    ac_cv_prog_ac_ct_STRIP="strip"
2170
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2278
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171
2279
    break 2
2172
2280
  fi
2173
2281
done
2178
2286
fi
2179
2287
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2180
2288
if test -n "$ac_ct_STRIP"; then
2181
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2182
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2289
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2290
$as_echo "$ac_ct_STRIP" >&6; }
2183
2291
else
2184
 
  { echo "$as_me:$LINENO: result: no" >&5
2185
 
echo "${ECHO_T}no" >&6; }
 
2292
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2293
$as_echo "no" >&6; }
2186
2294
fi
2187
2295
 
2188
2296
  if test "x$ac_ct_STRIP" = x; then
2190
2298
  else
2191
2299
    case $cross_compiling:$ac_tool_warned in
2192
2300
yes:)
2193
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2194
 
whose name does not start with the host triplet.  If you think this
2195
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2196
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2197
 
whose name does not start with the host triplet.  If you think this
2198
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2301
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2302
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2199
2303
ac_tool_warned=yes ;;
2200
2304
esac
2201
2305
    STRIP=$ac_ct_STRIP
2222
2326
 
2223
2327
ac_config_headers="$ac_config_headers config.h"
2224
2328
 
 
2329
# Make sure we can run config.sub.
 
2330
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2331
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2332
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2333
   { (exit 1); exit 1; }; }
 
2334
 
 
2335
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2336
$as_echo_n "checking build system type... " >&6; }
 
2337
if test "${ac_cv_build+set}" = set; then
 
2338
  $as_echo_n "(cached) " >&6
 
2339
else
 
2340
  ac_build_alias=$build_alias
 
2341
test "x$ac_build_alias" = x &&
 
2342
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2343
test "x$ac_build_alias" = x &&
 
2344
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2345
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2346
   { (exit 1); exit 1; }; }
 
2347
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2348
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2349
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2350
   { (exit 1); exit 1; }; }
 
2351
 
 
2352
fi
 
2353
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2354
$as_echo "$ac_cv_build" >&6; }
 
2355
case $ac_cv_build in
 
2356
*-*-*) ;;
 
2357
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2358
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
2359
   { (exit 1); exit 1; }; };;
 
2360
esac
 
2361
build=$ac_cv_build
 
2362
ac_save_IFS=$IFS; IFS='-'
 
2363
set x $ac_cv_build
 
2364
shift
 
2365
build_cpu=$1
 
2366
build_vendor=$2
 
2367
shift; shift
 
2368
# Remember, the first character of IFS is used to create $*,
 
2369
# except with old shells:
 
2370
build_os=$*
 
2371
IFS=$ac_save_IFS
 
2372
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2373
 
 
2374
 
 
2375
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2376
$as_echo_n "checking host system type... " >&6; }
 
2377
if test "${ac_cv_host+set}" = set; then
 
2378
  $as_echo_n "(cached) " >&6
 
2379
else
 
2380
  if test "x$host_alias" = x; then
 
2381
  ac_cv_host=$ac_cv_build
 
2382
else
 
2383
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2384
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2385
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2386
   { (exit 1); exit 1; }; }
 
2387
fi
 
2388
 
 
2389
fi
 
2390
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2391
$as_echo "$ac_cv_host" >&6; }
 
2392
case $ac_cv_host in
 
2393
*-*-*) ;;
 
2394
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2395
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
2396
   { (exit 1); exit 1; }; };;
 
2397
esac
 
2398
host=$ac_cv_host
 
2399
ac_save_IFS=$IFS; IFS='-'
 
2400
set x $ac_cv_host
 
2401
shift
 
2402
host_cpu=$1
 
2403
host_vendor=$2
 
2404
shift; shift
 
2405
# Remember, the first character of IFS is used to create $*,
 
2406
# except with old shells:
 
2407
host_os=$*
 
2408
IFS=$ac_save_IFS
 
2409
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2410
 
 
2411
 
2225
2412
 
2226
2413
# Checks for programs.
2227
2414
ac_ext=c
2232
2419
if test -n "$ac_tool_prefix"; then
2233
2420
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2234
2421
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2235
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2236
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2422
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2423
$as_echo_n "checking for $ac_word... " >&6; }
2237
2424
if test "${ac_cv_prog_CC+set}" = set; then
2238
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2425
  $as_echo_n "(cached) " >&6
2239
2426
else
2240
2427
  if test -n "$CC"; then
2241
2428
  ac_cv_prog_CC="$CC" # Let the user override the test.
2248
2435
  for ac_exec_ext in '' $ac_executable_extensions; do
2249
2436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250
2437
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2251
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2438
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252
2439
    break 2
2253
2440
  fi
2254
2441
done
2259
2446
fi
2260
2447
CC=$ac_cv_prog_CC
2261
2448
if test -n "$CC"; then
2262
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2263
 
echo "${ECHO_T}$CC" >&6; }
 
2449
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2450
$as_echo "$CC" >&6; }
2264
2451
else
2265
 
  { echo "$as_me:$LINENO: result: no" >&5
2266
 
echo "${ECHO_T}no" >&6; }
 
2452
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2453
$as_echo "no" >&6; }
2267
2454
fi
2268
2455
 
2269
2456
 
2272
2459
  ac_ct_CC=$CC
2273
2460
  # Extract the first word of "gcc", so it can be a program name with args.
2274
2461
set dummy gcc; ac_word=$2
2275
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2276
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2462
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2463
$as_echo_n "checking for $ac_word... " >&6; }
2277
2464
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2465
  $as_echo_n "(cached) " >&6
2279
2466
else
2280
2467
  if test -n "$ac_ct_CC"; then
2281
2468
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2288
2475
  for ac_exec_ext in '' $ac_executable_extensions; do
2289
2476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290
2477
    ac_cv_prog_ac_ct_CC="gcc"
2291
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2478
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292
2479
    break 2
2293
2480
  fi
2294
2481
done
2299
2486
fi
2300
2487
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2301
2488
if test -n "$ac_ct_CC"; then
2302
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2303
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2489
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2490
$as_echo "$ac_ct_CC" >&6; }
2304
2491
else
2305
 
  { echo "$as_me:$LINENO: result: no" >&5
2306
 
echo "${ECHO_T}no" >&6; }
 
2492
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2493
$as_echo "no" >&6; }
2307
2494
fi
2308
2495
 
2309
2496
  if test "x$ac_ct_CC" = x; then
2311
2498
  else
2312
2499
    case $cross_compiling:$ac_tool_warned in
2313
2500
yes:)
2314
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315
 
whose name does not start with the host triplet.  If you think this
2316
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2317
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318
 
whose name does not start with the host triplet.  If you think this
2319
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2501
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2502
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2320
2503
ac_tool_warned=yes ;;
2321
2504
esac
2322
2505
    CC=$ac_ct_CC
2329
2512
          if test -n "$ac_tool_prefix"; then
2330
2513
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2331
2514
set dummy ${ac_tool_prefix}cc; ac_word=$2
2332
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2333
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2515
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2516
$as_echo_n "checking for $ac_word... " >&6; }
2334
2517
if test "${ac_cv_prog_CC+set}" = set; then
2335
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2518
  $as_echo_n "(cached) " >&6
2336
2519
else
2337
2520
  if test -n "$CC"; then
2338
2521
  ac_cv_prog_CC="$CC" # Let the user override the test.
2345
2528
  for ac_exec_ext in '' $ac_executable_extensions; do
2346
2529
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347
2530
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2348
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2531
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349
2532
    break 2
2350
2533
  fi
2351
2534
done
2356
2539
fi
2357
2540
CC=$ac_cv_prog_CC
2358
2541
if test -n "$CC"; then
2359
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2360
 
echo "${ECHO_T}$CC" >&6; }
 
2542
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2543
$as_echo "$CC" >&6; }
2361
2544
else
2362
 
  { echo "$as_me:$LINENO: result: no" >&5
2363
 
echo "${ECHO_T}no" >&6; }
 
2545
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2546
$as_echo "no" >&6; }
2364
2547
fi
2365
2548
 
2366
2549
 
2369
2552
if test -z "$CC"; then
2370
2553
  # Extract the first word of "cc", so it can be a program name with args.
2371
2554
set dummy cc; ac_word=$2
2372
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2373
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2555
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2556
$as_echo_n "checking for $ac_word... " >&6; }
2374
2557
if test "${ac_cv_prog_CC+set}" = set; then
2375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2558
  $as_echo_n "(cached) " >&6
2376
2559
else
2377
2560
  if test -n "$CC"; then
2378
2561
  ac_cv_prog_CC="$CC" # Let the user override the test.
2390
2573
       continue
2391
2574
     fi
2392
2575
    ac_cv_prog_CC="cc"
2393
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2576
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394
2577
    break 2
2395
2578
  fi
2396
2579
done
2413
2596
fi
2414
2597
CC=$ac_cv_prog_CC
2415
2598
if test -n "$CC"; then
2416
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2417
 
echo "${ECHO_T}$CC" >&6; }
 
2599
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2600
$as_echo "$CC" >&6; }
2418
2601
else
2419
 
  { echo "$as_me:$LINENO: result: no" >&5
2420
 
echo "${ECHO_T}no" >&6; }
 
2602
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2603
$as_echo "no" >&6; }
2421
2604
fi
2422
2605
 
2423
2606
 
2428
2611
  do
2429
2612
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2430
2613
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2431
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2432
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2614
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2615
$as_echo_n "checking for $ac_word... " >&6; }
2433
2616
if test "${ac_cv_prog_CC+set}" = set; then
2434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2617
  $as_echo_n "(cached) " >&6
2435
2618
else
2436
2619
  if test -n "$CC"; then
2437
2620
  ac_cv_prog_CC="$CC" # Let the user override the test.
2444
2627
  for ac_exec_ext in '' $ac_executable_extensions; do
2445
2628
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446
2629
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2447
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2630
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448
2631
    break 2
2449
2632
  fi
2450
2633
done
2455
2638
fi
2456
2639
CC=$ac_cv_prog_CC
2457
2640
if test -n "$CC"; then
2458
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2459
 
echo "${ECHO_T}$CC" >&6; }
 
2641
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2642
$as_echo "$CC" >&6; }
2460
2643
else
2461
 
  { echo "$as_me:$LINENO: result: no" >&5
2462
 
echo "${ECHO_T}no" >&6; }
 
2644
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2645
$as_echo "no" >&6; }
2463
2646
fi
2464
2647
 
2465
2648
 
2472
2655
do
2473
2656
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2474
2657
set dummy $ac_prog; ac_word=$2
2475
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2476
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2658
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2659
$as_echo_n "checking for $ac_word... " >&6; }
2477
2660
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2478
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2661
  $as_echo_n "(cached) " >&6
2479
2662
else
2480
2663
  if test -n "$ac_ct_CC"; then
2481
2664
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2488
2671
  for ac_exec_ext in '' $ac_executable_extensions; do
2489
2672
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490
2673
    ac_cv_prog_ac_ct_CC="$ac_prog"
2491
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2674
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492
2675
    break 2
2493
2676
  fi
2494
2677
done
2499
2682
fi
2500
2683
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2501
2684
if test -n "$ac_ct_CC"; then
2502
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2685
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2686
$as_echo "$ac_ct_CC" >&6; }
2504
2687
else
2505
 
  { echo "$as_me:$LINENO: result: no" >&5
2506
 
echo "${ECHO_T}no" >&6; }
 
2688
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2689
$as_echo "no" >&6; }
2507
2690
fi
2508
2691
 
2509
2692
 
2515
2698
  else
2516
2699
    case $cross_compiling:$ac_tool_warned in
2517
2700
yes:)
2518
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2519
 
whose name does not start with the host triplet.  If you think this
2520
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2521
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2522
 
whose name does not start with the host triplet.  If you think this
2523
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2701
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2702
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2524
2703
ac_tool_warned=yes ;;
2525
2704
esac
2526
2705
    CC=$ac_ct_CC
2530
2709
fi
2531
2710
 
2532
2711
 
2533
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2712
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2713
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2714
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2534
2715
See \`config.log' for more details." >&5
2535
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2716
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2536
2717
See \`config.log' for more details." >&2;}
2537
 
   { (exit 1); exit 1; }; }
 
2718
   { (exit 1); exit 1; }; }; }
2538
2719
 
2539
2720
# Provide some information about the compiler.
2540
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2541
 
ac_compiler=`set X $ac_compile; echo $2`
 
2721
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2722
set X $ac_compile
 
2723
ac_compiler=$2
2542
2724
{ (ac_try="$ac_compiler --version >&5"
2543
2725
case "(($ac_try" in
2544
2726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545
2727
  *) ac_try_echo=$ac_try;;
2546
2728
esac
2547
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2730
$as_echo "$ac_try_echo") >&5
2548
2731
  (eval "$ac_compiler --version >&5") 2>&5
2549
2732
  ac_status=$?
2550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2733
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551
2734
  (exit $ac_status); }
2552
2735
{ (ac_try="$ac_compiler -v >&5"
2553
2736
case "(($ac_try" in
2554
2737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555
2738
  *) ac_try_echo=$ac_try;;
2556
2739
esac
2557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2740
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2741
$as_echo "$ac_try_echo") >&5
2558
2742
  (eval "$ac_compiler -v >&5") 2>&5
2559
2743
  ac_status=$?
2560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2744
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
2745
  (exit $ac_status); }
2562
2746
{ (ac_try="$ac_compiler -V >&5"
2563
2747
case "(($ac_try" in
2564
2748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565
2749
  *) ac_try_echo=$ac_try;;
2566
2750
esac
2567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2751
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2752
$as_echo "$ac_try_echo") >&5
2568
2753
  (eval "$ac_compiler -V >&5") 2>&5
2569
2754
  ac_status=$?
2570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2755
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571
2756
  (exit $ac_status); }
2572
2757
 
2573
2758
cat >conftest.$ac_ext <<_ACEOF
2586
2771
}
2587
2772
_ACEOF
2588
2773
ac_clean_files_save=$ac_clean_files
2589
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2774
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2590
2775
# Try to create an executable without -o first, disregard a.out.
2591
2776
# It will help us diagnose broken compilers, and finding out an intuition
2592
2777
# of exeext.
2593
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2594
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2595
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2596
 
#
2597
 
# List of possible output files, starting from the most likely.
2598
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2599
 
# only as a last resort.  b.out is created by i960 compilers.
2600
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2601
 
#
2602
 
# The IRIX 6 linker writes into existing files which may not be
2603
 
# executable, retaining their permissions.  Remove them first so a
2604
 
# subsequent execution test works.
 
2778
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2779
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2780
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2781
 
 
2782
# The possible output files:
 
2783
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2784
 
2605
2785
ac_rmfiles=
2606
2786
for ac_file in $ac_files
2607
2787
do
2608
2788
  case $ac_file in
2609
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2789
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2610
2790
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2611
2791
  esac
2612
2792
done
2617
2797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618
2798
  *) ac_try_echo=$ac_try;;
2619
2799
esac
2620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2800
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2801
$as_echo "$ac_try_echo") >&5
2621
2802
  (eval "$ac_link_default") 2>&5
2622
2803
  ac_status=$?
2623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624
2805
  (exit $ac_status); }; then
2625
2806
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2626
2807
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2631
2812
do
2632
2813
  test -f "$ac_file" || continue
2633
2814
  case $ac_file in
2634
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2815
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2635
2816
        ;;
2636
2817
    [ab].out )
2637
2818
        # We found the default executable, but exeext='' is most
2658
2839
  ac_file=''
2659
2840
fi
2660
2841
 
2661
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2662
 
echo "${ECHO_T}$ac_file" >&6; }
 
2842
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2843
$as_echo "$ac_file" >&6; }
2663
2844
if test -z "$ac_file"; then
2664
 
  echo "$as_me: failed program was:" >&5
 
2845
  $as_echo "$as_me: failed program was:" >&5
2665
2846
sed 's/^/| /' conftest.$ac_ext >&5
2666
2847
 
2667
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2848
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2849
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2850
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2668
2851
See \`config.log' for more details." >&5
2669
 
echo "$as_me: error: C compiler cannot create executables
 
2852
$as_echo "$as_me: error: C compiler cannot create executables
2670
2853
See \`config.log' for more details." >&2;}
2671
 
   { (exit 77); exit 77; }; }
 
2854
   { (exit 77); exit 77; }; }; }
2672
2855
fi
2673
2856
 
2674
2857
ac_exeext=$ac_cv_exeext
2675
2858
 
2676
2859
# Check that the compiler produces executables we can run.  If not, either
2677
2860
# the compiler is broken, or we cross compile.
2678
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2679
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2861
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2862
$as_echo_n "checking whether the C compiler works... " >&6; }
2680
2863
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2681
2864
# If not cross compiling, check that we can run a simple program.
2682
2865
if test "$cross_compiling" != yes; then
2685
2868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686
2869
  *) ac_try_echo=$ac_try;;
2687
2870
esac
2688
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2872
$as_echo "$ac_try_echo") >&5
2689
2873
  (eval "$ac_try") 2>&5
2690
2874
  ac_status=$?
2691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2875
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
2876
  (exit $ac_status); }; }; then
2693
2877
    cross_compiling=no
2694
2878
  else
2695
2879
    if test "$cross_compiling" = maybe; then
2696
2880
        cross_compiling=yes
2697
2881
    else
2698
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2882
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2883
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2884
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2699
2885
If you meant to cross compile, use \`--host'.
2700
2886
See \`config.log' for more details." >&5
2701
 
echo "$as_me: error: cannot run C compiled programs.
 
2887
$as_echo "$as_me: error: cannot run C compiled programs.
2702
2888
If you meant to cross compile, use \`--host'.
2703
2889
See \`config.log' for more details." >&2;}
2704
 
   { (exit 1); exit 1; }; }
 
2890
   { (exit 1); exit 1; }; }; }
2705
2891
    fi
2706
2892
  fi
2707
2893
fi
2708
 
{ echo "$as_me:$LINENO: result: yes" >&5
2709
 
echo "${ECHO_T}yes" >&6; }
 
2894
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2895
$as_echo "yes" >&6; }
2710
2896
 
2711
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2897
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2712
2898
ac_clean_files=$ac_clean_files_save
2713
2899
# Check that the compiler produces executables we can run.  If not, either
2714
2900
# the compiler is broken, or we cross compile.
2715
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2716
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2717
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2718
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2901
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2902
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2903
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2904
$as_echo "$cross_compiling" >&6; }
2719
2905
 
2720
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2721
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2906
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2907
$as_echo_n "checking for suffix of executables... " >&6; }
2722
2908
if { (ac_try="$ac_link"
2723
2909
case "(($ac_try" in
2724
2910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725
2911
  *) ac_try_echo=$ac_try;;
2726
2912
esac
2727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2914
$as_echo "$ac_try_echo") >&5
2728
2915
  (eval "$ac_link") 2>&5
2729
2916
  ac_status=$?
2730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
2918
  (exit $ac_status); }; then
2732
2919
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2733
2920
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2736
2923
for ac_file in conftest.exe conftest conftest.*; do
2737
2924
  test -f "$ac_file" || continue
2738
2925
  case $ac_file in
2739
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2926
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2740
2927
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2741
2928
          break;;
2742
2929
    * ) break;;
2743
2930
  esac
2744
2931
done
2745
2932
else
2746
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2933
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2934
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2935
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2747
2936
See \`config.log' for more details." >&5
2748
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2937
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2749
2938
See \`config.log' for more details." >&2;}
2750
 
   { (exit 1); exit 1; }; }
 
2939
   { (exit 1); exit 1; }; }; }
2751
2940
fi
2752
2941
 
2753
2942
rm -f conftest$ac_cv_exeext
2754
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2755
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2943
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2944
$as_echo "$ac_cv_exeext" >&6; }
2756
2945
 
2757
2946
rm -f conftest.$ac_ext
2758
2947
EXEEXT=$ac_cv_exeext
2759
2948
ac_exeext=$EXEEXT
2760
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2761
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2949
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2950
$as_echo_n "checking for suffix of object files... " >&6; }
2762
2951
if test "${ac_cv_objext+set}" = set; then
2763
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2952
  $as_echo_n "(cached) " >&6
2764
2953
else
2765
2954
  cat >conftest.$ac_ext <<_ACEOF
2766
2955
/* confdefs.h.  */
2783
2972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784
2973
  *) ac_try_echo=$ac_try;;
2785
2974
esac
2786
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2975
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2976
$as_echo "$ac_try_echo") >&5
2787
2977
  (eval "$ac_compile") 2>&5
2788
2978
  ac_status=$?
2789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790
2980
  (exit $ac_status); }; then
2791
2981
  for ac_file in conftest.o conftest.obj conftest.*; do
2792
2982
  test -f "$ac_file" || continue;
2793
2983
  case $ac_file in
2794
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2984
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2795
2985
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2796
2986
       break;;
2797
2987
  esac
2798
2988
done
2799
2989
else
2800
 
  echo "$as_me: failed program was:" >&5
 
2990
  $as_echo "$as_me: failed program was:" >&5
2801
2991
sed 's/^/| /' conftest.$ac_ext >&5
2802
2992
 
2803
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2993
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2994
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2995
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2804
2996
See \`config.log' for more details." >&5
2805
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2997
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2806
2998
See \`config.log' for more details." >&2;}
2807
 
   { (exit 1); exit 1; }; }
 
2999
   { (exit 1); exit 1; }; }; }
2808
3000
fi
2809
3001
 
2810
3002
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2811
3003
fi
2812
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2813
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3004
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3005
$as_echo "$ac_cv_objext" >&6; }
2814
3006
OBJEXT=$ac_cv_objext
2815
3007
ac_objext=$OBJEXT
2816
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2817
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3008
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3009
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2818
3010
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3011
  $as_echo_n "(cached) " >&6
2820
3012
else
2821
3013
  cat >conftest.$ac_ext <<_ACEOF
2822
3014
/* confdefs.h.  */
2842
3034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843
3035
  *) ac_try_echo=$ac_try;;
2844
3036
esac
2845
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3038
$as_echo "$ac_try_echo") >&5
2846
3039
  (eval "$ac_compile") 2>conftest.er1
2847
3040
  ac_status=$?
2848
3041
  grep -v '^ *+' conftest.er1 >conftest.err
2849
3042
  rm -f conftest.er1
2850
3043
  cat conftest.err >&5
2851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852
3045
  (exit $ac_status); } && {
2853
3046
         test -z "$ac_c_werror_flag" ||
2854
3047
         test ! -s conftest.err
2855
3048
       } && test -s conftest.$ac_objext; then
2856
3049
  ac_compiler_gnu=yes
2857
3050
else
2858
 
  echo "$as_me: failed program was:" >&5
 
3051
  $as_echo "$as_me: failed program was:" >&5
2859
3052
sed 's/^/| /' conftest.$ac_ext >&5
2860
3053
 
2861
3054
        ac_compiler_gnu=no
2865
3058
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2866
3059
 
2867
3060
fi
2868
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2869
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2870
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3061
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3062
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3063
if test $ac_compiler_gnu = yes; then
 
3064
  GCC=yes
 
3065
else
 
3066
  GCC=
 
3067
fi
2871
3068
ac_test_CFLAGS=${CFLAGS+set}
2872
3069
ac_save_CFLAGS=$CFLAGS
2873
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2874
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3070
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3071
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2875
3072
if test "${ac_cv_prog_cc_g+set}" = set; then
2876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3073
  $as_echo_n "(cached) " >&6
2877
3074
else
2878
3075
  ac_save_c_werror_flag=$ac_c_werror_flag
2879
3076
   ac_c_werror_flag=yes
2900
3097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901
3098
  *) ac_try_echo=$ac_try;;
2902
3099
esac
2903
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3100
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3101
$as_echo "$ac_try_echo") >&5
2904
3102
  (eval "$ac_compile") 2>conftest.er1
2905
3103
  ac_status=$?
2906
3104
  grep -v '^ *+' conftest.er1 >conftest.err
2907
3105
  rm -f conftest.er1
2908
3106
  cat conftest.err >&5
2909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3107
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910
3108
  (exit $ac_status); } && {
2911
3109
         test -z "$ac_c_werror_flag" ||
2912
3110
         test ! -s conftest.err
2913
3111
       } && test -s conftest.$ac_objext; then
2914
3112
  ac_cv_prog_cc_g=yes
2915
3113
else
2916
 
  echo "$as_me: failed program was:" >&5
 
3114
  $as_echo "$as_me: failed program was:" >&5
2917
3115
sed 's/^/| /' conftest.$ac_ext >&5
2918
3116
 
2919
3117
        CFLAGS=""
2938
3136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939
3137
  *) ac_try_echo=$ac_try;;
2940
3138
esac
2941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3139
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3140
$as_echo "$ac_try_echo") >&5
2942
3141
  (eval "$ac_compile") 2>conftest.er1
2943
3142
  ac_status=$?
2944
3143
  grep -v '^ *+' conftest.er1 >conftest.err
2945
3144
  rm -f conftest.er1
2946
3145
  cat conftest.err >&5
2947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3146
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
3147
  (exit $ac_status); } && {
2949
3148
         test -z "$ac_c_werror_flag" ||
2950
3149
         test ! -s conftest.err
2951
3150
       } && test -s conftest.$ac_objext; then
2952
3151
  :
2953
3152
else
2954
 
  echo "$as_me: failed program was:" >&5
 
3153
  $as_echo "$as_me: failed program was:" >&5
2955
3154
sed 's/^/| /' conftest.$ac_ext >&5
2956
3155
 
2957
3156
        ac_c_werror_flag=$ac_save_c_werror_flag
2977
3176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978
3177
  *) ac_try_echo=$ac_try;;
2979
3178
esac
2980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3179
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3180
$as_echo "$ac_try_echo") >&5
2981
3181
  (eval "$ac_compile") 2>conftest.er1
2982
3182
  ac_status=$?
2983
3183
  grep -v '^ *+' conftest.er1 >conftest.err
2984
3184
  rm -f conftest.er1
2985
3185
  cat conftest.err >&5
2986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3186
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
3187
  (exit $ac_status); } && {
2988
3188
         test -z "$ac_c_werror_flag" ||
2989
3189
         test ! -s conftest.err
2990
3190
       } && test -s conftest.$ac_objext; then
2991
3191
  ac_cv_prog_cc_g=yes
2992
3192
else
2993
 
  echo "$as_me: failed program was:" >&5
 
3193
  $as_echo "$as_me: failed program was:" >&5
2994
3194
sed 's/^/| /' conftest.$ac_ext >&5
2995
3195
 
2996
3196
 
3005
3205
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006
3206
   ac_c_werror_flag=$ac_save_c_werror_flag
3007
3207
fi
3008
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3009
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3208
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3209
$as_echo "$ac_cv_prog_cc_g" >&6; }
3010
3210
if test "$ac_test_CFLAGS" = set; then
3011
3211
  CFLAGS=$ac_save_CFLAGS
3012
3212
elif test $ac_cv_prog_cc_g = yes; then
3022
3222
    CFLAGS=
3023
3223
  fi
3024
3224
fi
3025
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3026
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3225
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3226
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3027
3227
if test "${ac_cv_prog_cc_c89+set}" = set; then
3028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3228
  $as_echo_n "(cached) " >&6
3029
3229
else
3030
3230
  ac_cv_prog_cc_c89=no
3031
3231
ac_save_CC=$CC
3096
3296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097
3297
  *) ac_try_echo=$ac_try;;
3098
3298
esac
3099
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3299
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3300
$as_echo "$ac_try_echo") >&5
3100
3301
  (eval "$ac_compile") 2>conftest.er1
3101
3302
  ac_status=$?
3102
3303
  grep -v '^ *+' conftest.er1 >conftest.err
3103
3304
  rm -f conftest.er1
3104
3305
  cat conftest.err >&5
3105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3306
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106
3307
  (exit $ac_status); } && {
3107
3308
         test -z "$ac_c_werror_flag" ||
3108
3309
         test ! -s conftest.err
3109
3310
       } && test -s conftest.$ac_objext; then
3110
3311
  ac_cv_prog_cc_c89=$ac_arg
3111
3312
else
3112
 
  echo "$as_me: failed program was:" >&5
 
3313
  $as_echo "$as_me: failed program was:" >&5
3113
3314
sed 's/^/| /' conftest.$ac_ext >&5
3114
3315
 
3115
3316
 
3125
3326
# AC_CACHE_VAL
3126
3327
case "x$ac_cv_prog_cc_c89" in
3127
3328
  x)
3128
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3129
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3329
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3330
$as_echo "none needed" >&6; } ;;
3130
3331
  xno)
3131
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3132
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3332
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3333
$as_echo "unsupported" >&6; } ;;
3133
3334
  *)
3134
3335
    CC="$CC $ac_cv_prog_cc_c89"
3135
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3136
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3336
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3337
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3137
3338
esac
3138
3339
 
3139
3340
 
3154
3355
.PHONY: am__doit
3155
3356
END
3156
3357
# If we don't find an include directive, just comment out the code.
3157
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3158
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3358
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3359
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3159
3360
am__include="#"
3160
3361
am__quote=
3161
3362
_am_result=none
3182
3383
fi
3183
3384
 
3184
3385
 
3185
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3186
 
echo "${ECHO_T}$_am_result" >&6; }
 
3386
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3387
$as_echo "$_am_result" >&6; }
3187
3388
rm -f confinc confmf
3188
3389
 
3189
3390
# Check whether --enable-dependency-tracking was given.
3207
3408
 
3208
3409
depcc="$CC"   am_compiler_list=
3209
3410
 
3210
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3211
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3411
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3412
$as_echo_n "checking dependency style of $depcc... " >&6; }
3212
3413
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3414
  $as_echo_n "(cached) " >&6
3214
3415
else
3215
3416
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3216
3417
  # We make a subdir and do the tests there.  Otherwise we can end up
3298
3499
fi
3299
3500
 
3300
3501
fi
3301
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3302
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3502
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3503
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3303
3504
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3304
3505
 
3305
3506
 if
3314
3515
 
3315
3516
 
3316
3517
if test "x$CC" != xcc; then
3317
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3318
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
3518
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
3519
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3319
3520
else
3320
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3321
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
3521
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
3522
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3322
3523
fi
3323
 
set dummy $CC; ac_cc=`echo $2 |
 
3524
set dummy $CC; ac_cc=`$as_echo "$2" |
3324
3525
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3325
3526
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3527
  $as_echo_n "(cached) " >&6
3327
3528
else
3328
3529
  cat >conftest.$ac_ext <<_ACEOF
3329
3530
/* confdefs.h.  */
3349
3550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350
3551
  *) ac_try_echo=$ac_try;;
3351
3552
esac
3352
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3553
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3554
$as_echo "$ac_try_echo") >&5
3353
3555
  (eval "$ac_try") 2>&5
3354
3556
  ac_status=$?
3355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3557
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356
3558
  (exit $ac_status); } &&
3357
3559
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3358
3560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359
3561
  *) ac_try_echo=$ac_try;;
3360
3562
esac
3361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3563
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3564
$as_echo "$ac_try_echo") >&5
3362
3565
  (eval "$ac_try") 2>&5
3363
3566
  ac_status=$?
3364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365
3568
  (exit $ac_status); };
3366
3569
then
3367
3570
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3372
3575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373
3576
  *) ac_try_echo=$ac_try;;
3374
3577
esac
3375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3578
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3579
$as_echo "$ac_try_echo") >&5
3376
3580
  (eval "$ac_try") 2>&5
3377
3581
  ac_status=$?
3378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3582
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379
3583
  (exit $ac_status); }; }; then
3380
3584
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3381
3585
      rm -f conftest2.*
3383
3587
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384
3588
  *) ac_try_echo=$ac_try;;
3385
3589
esac
3386
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3590
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3591
$as_echo "$ac_try_echo") >&5
3387
3592
  (eval "$ac_try") 2>&5
3388
3593
  ac_status=$?
3389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3594
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
3595
  (exit $ac_status); } &&
3391
3596
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
3392
3597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393
3598
  *) ac_try_echo=$ac_try;;
3394
3599
esac
3395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3600
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3601
$as_echo "$ac_try_echo") >&5
3396
3602
  (eval "$ac_try") 2>&5
3397
3603
  ac_status=$?
3398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3604
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
3605
  (exit $ac_status); };
3400
3606
      then
3401
3607
        # cc works too.
3413
3619
 
3414
3620
fi
3415
3621
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3416
 
  { echo "$as_me:$LINENO: result: yes" >&5
3417
 
echo "${ECHO_T}yes" >&6; }
 
3622
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3623
$as_echo "yes" >&6; }
3418
3624
else
3419
 
  { echo "$as_me:$LINENO: result: no" >&5
3420
 
echo "${ECHO_T}no" >&6; }
 
3625
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3626
$as_echo "no" >&6; }
3421
3627
 
3422
3628
cat >>confdefs.h <<\_ACEOF
3423
3629
#define NO_MINUS_C_MINUS_O 1
3428
3634
# FIXME: we rely on the cache variable name because
3429
3635
# there is no other way.
3430
3636
set dummy $CC
3431
 
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3432
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
3637
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3638
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
3639
if test "$am_t" != yes; then
3433
3640
   # Losing compiler, so override with the script.
3434
3641
   # FIXME: It is wrong to rewrite CC.
3435
3642
   # But if we don't then we get into trouble of one sort or another.
3452
3659
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3453
3660
# OS/2's system install, which has a completely different semantic
3454
3661
# ./install, which can be erroneously created by make from ./install.sh.
3455
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3456
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3662
# Reject install programs that cannot install multiple files.
 
3663
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3664
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3457
3665
if test -z "$INSTALL"; then
3458
3666
if test "${ac_cv_path_install+set}" = set; then
3459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3667
  $as_echo_n "(cached) " >&6
3460
3668
else
3461
3669
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462
3670
for as_dir in $PATH
3485
3693
            # program-specific install script used by HP pwplus--don't use.
3486
3694
            :
3487
3695
          else
3488
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3489
 
            break 3
 
3696
            rm -rf conftest.one conftest.two conftest.dir
 
3697
            echo one > conftest.one
 
3698
            echo two > conftest.two
 
3699
            mkdir conftest.dir
 
3700
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3701
              test -s conftest.one && test -s conftest.two &&
 
3702
              test -s conftest.dir/conftest.one &&
 
3703
              test -s conftest.dir/conftest.two
 
3704
            then
 
3705
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3706
              break 3
 
3707
            fi
3490
3708
          fi
3491
3709
        fi
3492
3710
      done
3493
3711
    done
3494
3712
    ;;
3495
3713
esac
 
3714
 
3496
3715
done
3497
3716
IFS=$as_save_IFS
3498
3717
 
 
3718
rm -rf conftest.one conftest.two conftest.dir
3499
3719
 
3500
3720
fi
3501
3721
  if test "${ac_cv_path_install+set}" = set; then
3508
3728
    INSTALL=$ac_install_sh
3509
3729
  fi
3510
3730
fi
3511
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3512
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3731
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3732
$as_echo "$INSTALL" >&6; }
3513
3733
 
3514
3734
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3515
3735
# It thinks the first close brace ends the variable substitution.
3520
3740
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3521
3741
 
3522
3742
 
 
3743
# Parse arguments
 
3744
# Check whether --enable-libusb was given.
 
3745
if test "${enable_libusb+set}" = set; then
 
3746
  enableval=$enable_libusb; case "${enableval}" in
 
3747
       yes) force_libusb=true ;;
 
3748
       no)  force_libusb=false ;;
 
3749
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libusb" >&5
 
3750
$as_echo "$as_me: error: bad value ${enableval} for --enable-libusb" >&2;}
 
3751
   { (exit 1); exit 1; }; } ;;
 
3752
     esac
 
3753
else
 
3754
  force_libusb=false
 
3755
fi
 
3756
 
 
3757
 
 
3758
# Determine subsystem
 
3759
if test x$force_libusb = xtrue; then
 
3760
   subsystem=libusb
 
3761
else
 
3762
   case $host_os in
 
3763
  linux*) subsystem=sg ;;
 
3764
  mingw32) subsystem=spt ;;
 
3765
  *) subsystem=libusb ;;
 
3766
esac
 
3767
 
 
3768
 
 
3769
fi
 
3770
 
 
3771
 
 
3772
if test x$subsystem = xlibusb ; then
 
3773
 
 
3774
cat >>confdefs.h <<\_ACEOF
 
3775
#define SUBSYS_LIBUSB 1
 
3776
_ACEOF
 
3777
 
 
3778
fi
 
3779
 
 
3780
if test x$subsystem = xsg ; then
 
3781
 
 
3782
cat >>confdefs.h <<\_ACEOF
 
3783
#define SUBSYS_SG 1
 
3784
_ACEOF
 
3785
 
 
3786
fi
 
3787
 
 
3788
if test x$subsystem = xspt ; then
 
3789
 
 
3790
cat >>confdefs.h <<\_ACEOF
 
3791
#define SUBSYS_SPT 1
 
3792
_ACEOF
 
3793
 
 
3794
fi
 
3795
 
 
3796
 
3523
3797
# Checks for libraries.
3524
 
 
3525
 
 
3526
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3527
 
        if test -n "$ac_tool_prefix"; then
3528
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3529
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3530
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3531
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3532
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3534
 
else
3535
 
  case $PKG_CONFIG in
3536
 
  [\\/]* | ?:[\\/]*)
3537
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3538
 
  ;;
3539
 
  *)
3540
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541
 
for as_dir in $PATH
3542
 
do
3543
 
  IFS=$as_save_IFS
3544
 
  test -z "$as_dir" && as_dir=.
3545
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3546
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3547
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3548
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3549
 
    break 2
3550
 
  fi
3551
 
done
3552
 
done
3553
 
IFS=$as_save_IFS
3554
 
 
3555
 
  ;;
3556
 
esac
3557
 
fi
3558
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3559
 
if test -n "$PKG_CONFIG"; then
3560
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3561
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3562
 
else
3563
 
  { echo "$as_me:$LINENO: result: no" >&5
3564
 
echo "${ECHO_T}no" >&6; }
3565
 
fi
3566
 
 
3567
 
 
3568
 
fi
3569
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
3570
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3571
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
3572
 
set dummy pkg-config; ac_word=$2
3573
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3574
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3575
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3577
 
else
3578
 
  case $ac_pt_PKG_CONFIG in
3579
 
  [\\/]* | ?:[\\/]*)
3580
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3581
 
  ;;
3582
 
  *)
3583
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584
 
for as_dir in $PATH
3585
 
do
3586
 
  IFS=$as_save_IFS
3587
 
  test -z "$as_dir" && as_dir=.
3588
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3589
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3591
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592
 
    break 2
3593
 
  fi
3594
 
done
3595
 
done
3596
 
IFS=$as_save_IFS
3597
 
 
3598
 
  ;;
3599
 
esac
3600
 
fi
3601
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3602
 
if test -n "$ac_pt_PKG_CONFIG"; then
3603
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3604
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3605
 
else
3606
 
  { echo "$as_me:$LINENO: result: no" >&5
3607
 
echo "${ECHO_T}no" >&6; }
3608
 
fi
3609
 
 
3610
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
3611
 
    PKG_CONFIG=""
3612
 
  else
3613
 
    case $cross_compiling:$ac_tool_warned in
3614
 
yes:)
3615
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3616
 
whose name does not start with the host triplet.  If you think this
3617
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3618
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3619
 
whose name does not start with the host triplet.  If you think this
3620
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3621
 
ac_tool_warned=yes ;;
3622
 
esac
3623
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3624
 
  fi
3625
 
else
3626
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3627
 
fi
3628
 
 
3629
 
fi
3630
 
if test -n "$PKG_CONFIG"; then
3631
 
        _pkg_min_version=0.9.0
3632
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3633
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3634
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3635
 
                { echo "$as_me:$LINENO: result: yes" >&5
3636
 
echo "${ECHO_T}yes" >&6; }
3637
 
        else
3638
 
                { echo "$as_me:$LINENO: result: no" >&5
3639
 
echo "${ECHO_T}no" >&6; }
3640
 
                PKG_CONFIG=""
3641
 
        fi
3642
 
 
3643
 
fi
3644
 
 
3645
 
pkg_failed=no
3646
 
{ echo "$as_me:$LINENO: checking for LIBUSB" >&5
3647
 
echo $ECHO_N "checking for LIBUSB... $ECHO_C" >&6; }
3648
 
 
3649
 
if test -n "$PKG_CONFIG"; then
3650
 
    if test -n "$LIBUSB_CFLAGS"; then
3651
 
        pkg_cv_LIBUSB_CFLAGS="$LIBUSB_CFLAGS"
3652
 
    else
3653
 
        if test -n "$PKG_CONFIG" && \
3654
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
3655
 
  ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
3656
 
  ac_status=$?
3657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658
 
  (exit $ac_status); }; then
3659
 
  pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
3660
 
else
3661
 
  pkg_failed=yes
3662
 
fi
3663
 
    fi
3664
 
else
3665
 
        pkg_failed=untried
3666
 
fi
3667
 
if test -n "$PKG_CONFIG"; then
3668
 
    if test -n "$LIBUSB_LIBS"; then
3669
 
        pkg_cv_LIBUSB_LIBS="$LIBUSB_LIBS"
3670
 
    else
3671
 
        if test -n "$PKG_CONFIG" && \
3672
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
3673
 
  ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
3674
 
  ac_status=$?
3675
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676
 
  (exit $ac_status); }; then
3677
 
  pkg_cv_LIBUSB_LIBS=`$PKG_CONFIG --libs "libusb" 2>/dev/null`
3678
 
else
3679
 
  pkg_failed=yes
3680
 
fi
3681
 
    fi
3682
 
else
3683
 
        pkg_failed=untried
3684
 
fi
3685
 
 
3686
 
 
3687
 
 
3688
 
if test $pkg_failed = yes; then
3689
 
 
3690
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3691
 
        _pkg_short_errors_supported=yes
3692
 
else
3693
 
        _pkg_short_errors_supported=no
3694
 
fi
3695
 
        if test $_pkg_short_errors_supported = yes; then
3696
 
                LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
3697
 
        else
3698
 
                LIBUSB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
3699
 
        fi
3700
 
        # Put the nasty error message in config.log where it belongs
3701
 
        echo "$LIBUSB_PKG_ERRORS" >&5
3702
 
 
3703
 
        { echo "$as_me:$LINENO: result: no" >&5
3704
 
echo "${ECHO_T}no" >&6; }
3705
 
                 LIBUSB_MSG=no
3706
 
elif test $pkg_failed = untried; then
3707
 
         LIBUSB_MSG=no
3708
 
else
3709
 
        LIBUSB_CFLAGS=$pkg_cv_LIBUSB_CFLAGS
3710
 
        LIBUSB_LIBS=$pkg_cv_LIBUSB_LIBS
3711
 
        { echo "$as_me:$LINENO: result: yes" >&5
3712
 
echo "${ECHO_T}yes" >&6; }
3713
 
 
3714
 
                LIBUSB_MSG=yes
3715
 
 
3716
 
fi
3717
 
 if test x$LIBUSB_MSG = xyes; then
3718
 
  HAVE_LIBUSB_TRUE=
3719
 
  HAVE_LIBUSB_FALSE='#'
3720
 
else
3721
 
  HAVE_LIBUSB_TRUE='#'
3722
 
  HAVE_LIBUSB_FALSE=
3723
 
fi
3724
 
 
 
3798
#FIXME: PKG_CHECK_MODULES not provided on MinGW
 
3799
#AS_IF([ test x$subsystem = xlibusb ],
 
3800
#       [ PKG_CHECK_MODULES([LIBUSB], [libusb],
 
3801
#               [  ],
 
3802
#               [ AC_MSG_FAILURE([libusb is required but not found.]) ])
 
3803
#       ])
3725
3804
 
3726
3805
# Checks for header files.
3727
3806
 
3730
3809
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731
3810
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732
3811
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3734
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3812
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3813
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3735
3814
# On Suns, sometimes $CPP names a directory.
3736
3815
if test -n "$CPP" && test -d "$CPP"; then
3737
3816
  CPP=
3738
3817
fi
3739
3818
if test -z "$CPP"; then
3740
3819
  if test "${ac_cv_prog_CPP+set}" = set; then
3741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3820
  $as_echo_n "(cached) " >&6
3742
3821
else
3743
3822
      # Double quotes because CPP needs to be expanded
3744
3823
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3770
3849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771
3850
  *) ac_try_echo=$ac_try;;
3772
3851
esac
3773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3852
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3853
$as_echo "$ac_try_echo") >&5
3774
3854
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3775
3855
  ac_status=$?
3776
3856
  grep -v '^ *+' conftest.er1 >conftest.err
3777
3857
  rm -f conftest.er1
3778
3858
  cat conftest.err >&5
3779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3859
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780
3860
  (exit $ac_status); } >/dev/null && {
3781
3861
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3782
3862
         test ! -s conftest.err
3783
3863
       }; then
3784
3864
  :
3785
3865
else
3786
 
  echo "$as_me: failed program was:" >&5
 
3866
  $as_echo "$as_me: failed program was:" >&5
3787
3867
sed 's/^/| /' conftest.$ac_ext >&5
3788
3868
 
3789
3869
  # Broken: fails on valid input.
3807
3887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
3888
  *) ac_try_echo=$ac_try;;
3809
3889
esac
3810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3890
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3891
$as_echo "$ac_try_echo") >&5
3811
3892
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3812
3893
  ac_status=$?
3813
3894
  grep -v '^ *+' conftest.er1 >conftest.err
3814
3895
  rm -f conftest.er1
3815
3896
  cat conftest.err >&5
3816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3897
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817
3898
  (exit $ac_status); } >/dev/null && {
3818
3899
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819
3900
         test ! -s conftest.err
3821
3902
  # Broken: success on invalid input.
3822
3903
continue
3823
3904
else
3824
 
  echo "$as_me: failed program was:" >&5
 
3905
  $as_echo "$as_me: failed program was:" >&5
3825
3906
sed 's/^/| /' conftest.$ac_ext >&5
3826
3907
 
3827
3908
  # Passes both tests.
3846
3927
else
3847
3928
  ac_cv_prog_CPP=$CPP
3848
3929
fi
3849
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3850
 
echo "${ECHO_T}$CPP" >&6; }
 
3930
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3931
$as_echo "$CPP" >&6; }
3851
3932
ac_preproc_ok=false
3852
3933
for ac_c_preproc_warn_flag in '' yes
3853
3934
do
3875
3956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3876
3957
  *) ac_try_echo=$ac_try;;
3877
3958
esac
3878
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3959
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3960
$as_echo "$ac_try_echo") >&5
3879
3961
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3880
3962
  ac_status=$?
3881
3963
  grep -v '^ *+' conftest.er1 >conftest.err
3882
3964
  rm -f conftest.er1
3883
3965
  cat conftest.err >&5
3884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885
3967
  (exit $ac_status); } >/dev/null && {
3886
3968
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3887
3969
         test ! -s conftest.err
3888
3970
       }; then
3889
3971
  :
3890
3972
else
3891
 
  echo "$as_me: failed program was:" >&5
 
3973
  $as_echo "$as_me: failed program was:" >&5
3892
3974
sed 's/^/| /' conftest.$ac_ext >&5
3893
3975
 
3894
3976
  # Broken: fails on valid input.
3912
3994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913
3995
  *) ac_try_echo=$ac_try;;
3914
3996
esac
3915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3997
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3998
$as_echo "$ac_try_echo") >&5
3916
3999
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917
4000
  ac_status=$?
3918
4001
  grep -v '^ *+' conftest.er1 >conftest.err
3919
4002
  rm -f conftest.er1
3920
4003
  cat conftest.err >&5
3921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4004
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922
4005
  (exit $ac_status); } >/dev/null && {
3923
4006
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3924
4007
         test ! -s conftest.err
3926
4009
  # Broken: success on invalid input.
3927
4010
continue
3928
4011
else
3929
 
  echo "$as_me: failed program was:" >&5
 
4012
  $as_echo "$as_me: failed program was:" >&5
3930
4013
sed 's/^/| /' conftest.$ac_ext >&5
3931
4014
 
3932
4015
  # Passes both tests.
3942
4025
if $ac_preproc_ok; then
3943
4026
  :
3944
4027
else
3945
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4028
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4029
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4030
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3946
4031
See \`config.log' for more details." >&5
3947
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4032
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3948
4033
See \`config.log' for more details." >&2;}
3949
 
   { (exit 1); exit 1; }; }
 
4034
   { (exit 1); exit 1; }; }; }
3950
4035
fi
3951
4036
 
3952
4037
ac_ext=c
3956
4041
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957
4042
 
3958
4043
 
3959
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3960
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3961
 
if test "${ac_cv_path_GREP+set}" = set; then
3962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3963
 
else
3964
 
  # Extract the first word of "grep ggrep" to use in msg output
3965
 
if test -z "$GREP"; then
3966
 
set dummy grep ggrep; ac_prog_name=$2
3967
 
if test "${ac_cv_path_GREP+set}" = set; then
3968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3969
 
else
 
4044
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4045
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4046
if test "${ac_cv_path_GREP+set}" = set; then
 
4047
  $as_echo_n "(cached) " >&6
 
4048
else
 
4049
  if test -z "$GREP"; then
3970
4050
  ac_path_GREP_found=false
3971
 
# Loop through the user's path and test for each of PROGNAME-LIST
3972
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4051
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4052
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973
4053
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3974
4054
do
3975
4055
  IFS=$as_save_IFS
3976
4056
  test -z "$as_dir" && as_dir=.
3977
4057
  for ac_prog in grep ggrep; do
3978
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3979
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3980
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3981
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4058
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4059
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4060
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4061
# Check for GNU ac_path_GREP and select it if it is found.
3982
4062
  # Check for GNU $ac_path_GREP
3983
4063
case `"$ac_path_GREP" --version 2>&1` in
3984
4064
*GNU*)
3985
4065
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3986
4066
*)
3987
4067
  ac_count=0
3988
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4068
  $as_echo_n 0123456789 >"conftest.in"
3989
4069
  while :
3990
4070
  do
3991
4071
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3992
4072
    mv "conftest.tmp" "conftest.in"
3993
4073
    cp "conftest.in" "conftest.nl"
3994
 
    echo 'GREP' >> "conftest.nl"
 
4074
    $as_echo 'GREP' >> "conftest.nl"
3995
4075
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3996
4076
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3997
4077
    ac_count=`expr $ac_count + 1`
4006
4086
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4007
4087
esac
4008
4088
 
4009
 
 
4010
 
    $ac_path_GREP_found && break 3
 
4089
      $ac_path_GREP_found && break 3
 
4090
    done
4011
4091
  done
4012
4092
done
4013
 
 
4014
 
done
4015
4093
IFS=$as_save_IFS
4016
 
 
4017
 
 
4018
 
fi
4019
 
 
4020
 
GREP="$ac_cv_path_GREP"
4021
 
if test -z "$GREP"; then
4022
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4023
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4094
  if test -z "$ac_cv_path_GREP"; then
 
4095
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4096
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4024
4097
   { (exit 1); exit 1; }; }
4025
 
fi
4026
 
 
 
4098
  fi
4027
4099
else
4028
4100
  ac_cv_path_GREP=$GREP
4029
4101
fi
4030
4102
 
4031
 
 
4032
4103
fi
4033
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4034
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4104
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4105
$as_echo "$ac_cv_path_GREP" >&6; }
4035
4106
 GREP="$ac_cv_path_GREP"
4036
4107
 
4037
4108
 
4038
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4039
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4109
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4110
$as_echo_n "checking for egrep... " >&6; }
4040
4111
if test "${ac_cv_path_EGREP+set}" = set; then
4041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4112
  $as_echo_n "(cached) " >&6
4042
4113
else
4043
4114
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4044
4115
   then ac_cv_path_EGREP="$GREP -E"
4045
4116
   else
4046
 
     # Extract the first word of "egrep" to use in msg output
4047
 
if test -z "$EGREP"; then
4048
 
set dummy egrep; ac_prog_name=$2
4049
 
if test "${ac_cv_path_EGREP+set}" = set; then
4050
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4051
 
else
 
4117
     if test -z "$EGREP"; then
4052
4118
  ac_path_EGREP_found=false
4053
 
# Loop through the user's path and test for each of PROGNAME-LIST
4054
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4119
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4120
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055
4121
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4056
4122
do
4057
4123
  IFS=$as_save_IFS
4058
4124
  test -z "$as_dir" && as_dir=.
4059
4125
  for ac_prog in egrep; do
4060
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4061
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4062
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4063
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4126
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4127
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4128
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4129
# Check for GNU ac_path_EGREP and select it if it is found.
4064
4130
  # Check for GNU $ac_path_EGREP
4065
4131
case `"$ac_path_EGREP" --version 2>&1` in
4066
4132
*GNU*)
4067
4133
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4068
4134
*)
4069
4135
  ac_count=0
4070
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4136
  $as_echo_n 0123456789 >"conftest.in"
4071
4137
  while :
4072
4138
  do
4073
4139
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4074
4140
    mv "conftest.tmp" "conftest.in"
4075
4141
    cp "conftest.in" "conftest.nl"
4076
 
    echo 'EGREP' >> "conftest.nl"
 
4142
    $as_echo 'EGREP' >> "conftest.nl"
4077
4143
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4078
4144
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4079
4145
    ac_count=`expr $ac_count + 1`
4088
4154
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4089
4155
esac
4090
4156
 
4091
 
 
4092
 
    $ac_path_EGREP_found && break 3
 
4157
      $ac_path_EGREP_found && break 3
 
4158
    done
4093
4159
  done
4094
4160
done
4095
 
 
4096
 
done
4097
4161
IFS=$as_save_IFS
4098
 
 
4099
 
 
4100
 
fi
4101
 
 
4102
 
EGREP="$ac_cv_path_EGREP"
4103
 
if test -z "$EGREP"; then
4104
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4105
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4162
  if test -z "$ac_cv_path_EGREP"; then
 
4163
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4164
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4106
4165
   { (exit 1); exit 1; }; }
4107
 
fi
4108
 
 
 
4166
  fi
4109
4167
else
4110
4168
  ac_cv_path_EGREP=$EGREP
4111
4169
fi
4112
4170
 
4113
 
 
4114
4171
   fi
4115
4172
fi
4116
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4117
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4173
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4174
$as_echo "$ac_cv_path_EGREP" >&6; }
4118
4175
 EGREP="$ac_cv_path_EGREP"
4119
4176
 
4120
4177
 
4121
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4122
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4178
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4179
$as_echo_n "checking for ANSI C header files... " >&6; }
4123
4180
if test "${ac_cv_header_stdc+set}" = set; then
4124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4181
  $as_echo_n "(cached) " >&6
4125
4182
else
4126
4183
  cat >conftest.$ac_ext <<_ACEOF
4127
4184
/* confdefs.h.  */
4148
4205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149
4206
  *) ac_try_echo=$ac_try;;
4150
4207
esac
4151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4209
$as_echo "$ac_try_echo") >&5
4152
4210
  (eval "$ac_compile") 2>conftest.er1
4153
4211
  ac_status=$?
4154
4212
  grep -v '^ *+' conftest.er1 >conftest.err
4155
4213
  rm -f conftest.er1
4156
4214
  cat conftest.err >&5
4157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4215
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158
4216
  (exit $ac_status); } && {
4159
4217
         test -z "$ac_c_werror_flag" ||
4160
4218
         test ! -s conftest.err
4161
4219
       } && test -s conftest.$ac_objext; then
4162
4220
  ac_cv_header_stdc=yes
4163
4221
else
4164
 
  echo "$as_me: failed program was:" >&5
 
4222
  $as_echo "$as_me: failed program was:" >&5
4165
4223
sed 's/^/| /' conftest.$ac_ext >&5
4166
4224
 
4167
4225
        ac_cv_header_stdc=no
4253
4311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254
4312
  *) ac_try_echo=$ac_try;;
4255
4313
esac
4256
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4315
$as_echo "$ac_try_echo") >&5
4257
4316
  (eval "$ac_link") 2>&5
4258
4317
  ac_status=$?
4259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4318
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
4319
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4261
4320
  { (case "(($ac_try" in
4262
4321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263
4322
  *) ac_try_echo=$ac_try;;
4264
4323
esac
4265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4324
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4325
$as_echo "$ac_try_echo") >&5
4266
4326
  (eval "$ac_try") 2>&5
4267
4327
  ac_status=$?
4268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4328
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
4329
  (exit $ac_status); }; }; then
4270
4330
  :
4271
4331
else
4272
 
  echo "$as_me: program exited with status $ac_status" >&5
4273
 
echo "$as_me: failed program was:" >&5
 
4332
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4333
$as_echo "$as_me: failed program was:" >&5
4274
4334
sed 's/^/| /' conftest.$ac_ext >&5
4275
4335
 
4276
4336
( exit $ac_status )
4277
4337
ac_cv_header_stdc=no
4278
4338
fi
 
4339
rm -rf conftest.dSYM
4279
4340
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4280
4341
fi
4281
4342
 
4282
4343
 
4283
4344
fi
4284
4345
fi
4285
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4286
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4346
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4347
$as_echo "$ac_cv_header_stdc" >&6; }
4287
4348
if test $ac_cv_header_stdc = yes; then
4288
4349
 
4289
4350
cat >>confdefs.h <<\_ACEOF
4305
4366
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4306
4367
                  inttypes.h stdint.h unistd.h
4307
4368
do
4308
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4309
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4310
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4369
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4370
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4371
$as_echo_n "checking for $ac_header... " >&6; }
4311
4372
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4373
  $as_echo_n "(cached) " >&6
4313
4374
else
4314
4375
  cat >conftest.$ac_ext <<_ACEOF
4315
4376
/* confdefs.h.  */
4327
4388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328
4389
  *) ac_try_echo=$ac_try;;
4329
4390
esac
4330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4392
$as_echo "$ac_try_echo") >&5
4331
4393
  (eval "$ac_compile") 2>conftest.er1
4332
4394
  ac_status=$?
4333
4395
  grep -v '^ *+' conftest.er1 >conftest.err
4334
4396
  rm -f conftest.er1
4335
4397
  cat conftest.err >&5
4336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4398
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337
4399
  (exit $ac_status); } && {
4338
4400
         test -z "$ac_c_werror_flag" ||
4339
4401
         test ! -s conftest.err
4340
4402
       } && test -s conftest.$ac_objext; then
4341
4403
  eval "$as_ac_Header=yes"
4342
4404
else
4343
 
  echo "$as_me: failed program was:" >&5
 
4405
  $as_echo "$as_me: failed program was:" >&5
4344
4406
sed 's/^/| /' conftest.$ac_ext >&5
4345
4407
 
4346
4408
        eval "$as_ac_Header=no"
4348
4410
 
4349
4411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350
4412
fi
4351
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4352
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4353
 
echo "${ECHO_T}$ac_res" >&6; }
4354
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4413
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4414
                 $as_echo "$as_val"'`
 
4415
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4416
$as_echo "$ac_res" >&6; }
 
4417
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4418
                 $as_echo "$as_val"'`
 
4419
   if test "x$as_val" = x""yes; then
4355
4420
  cat >>confdefs.h <<_ACEOF
4356
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4421
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4357
4422
_ACEOF
4358
4423
 
4359
4424
fi
4371
4436
 
4372
4437
for ac_header in arpa/inet.h fcntl.h stdint.h stdlib.h string.h sys/ioctl.h termios.h unistd.h
4373
4438
do
4374
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4375
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4376
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4377
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4378
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4439
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4440
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4441
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4442
$as_echo_n "checking for $ac_header... " >&6; }
 
4443
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4444
  $as_echo_n "(cached) " >&6
4380
4445
fi
4381
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4382
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4383
 
echo "${ECHO_T}$ac_res" >&6; }
 
4446
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4447
                 $as_echo "$as_val"'`
 
4448
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4449
$as_echo "$ac_res" >&6; }
4384
4450
else
4385
4451
  # Is the header compilable?
4386
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4387
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4452
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4453
$as_echo_n "checking $ac_header usability... " >&6; }
4388
4454
cat >conftest.$ac_ext <<_ACEOF
4389
4455
/* confdefs.h.  */
4390
4456
_ACEOF
4400
4466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401
4467
  *) ac_try_echo=$ac_try;;
4402
4468
esac
4403
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4469
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4470
$as_echo "$ac_try_echo") >&5
4404
4471
  (eval "$ac_compile") 2>conftest.er1
4405
4472
  ac_status=$?
4406
4473
  grep -v '^ *+' conftest.er1 >conftest.err
4407
4474
  rm -f conftest.er1
4408
4475
  cat conftest.err >&5
4409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4476
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410
4477
  (exit $ac_status); } && {
4411
4478
         test -z "$ac_c_werror_flag" ||
4412
4479
         test ! -s conftest.err
4413
4480
       } && test -s conftest.$ac_objext; then
4414
4481
  ac_header_compiler=yes
4415
4482
else
4416
 
  echo "$as_me: failed program was:" >&5
 
4483
  $as_echo "$as_me: failed program was:" >&5
4417
4484
sed 's/^/| /' conftest.$ac_ext >&5
4418
4485
 
4419
4486
        ac_header_compiler=no
4420
4487
fi
4421
4488
 
4422
4489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4424
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4490
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4491
$as_echo "$ac_header_compiler" >&6; }
4425
4492
 
4426
4493
# Is the header present?
4427
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4428
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4494
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4495
$as_echo_n "checking $ac_header presence... " >&6; }
4429
4496
cat >conftest.$ac_ext <<_ACEOF
4430
4497
/* confdefs.h.  */
4431
4498
_ACEOF
4439
4506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440
4507
  *) ac_try_echo=$ac_try;;
4441
4508
esac
4442
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4509
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4510
$as_echo "$ac_try_echo") >&5
4443
4511
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4444
4512
  ac_status=$?
4445
4513
  grep -v '^ *+' conftest.er1 >conftest.err
4446
4514
  rm -f conftest.er1
4447
4515
  cat conftest.err >&5
4448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4516
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449
4517
  (exit $ac_status); } >/dev/null && {
4450
4518
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4451
4519
         test ! -s conftest.err
4452
4520
       }; then
4453
4521
  ac_header_preproc=yes
4454
4522
else
4455
 
  echo "$as_me: failed program was:" >&5
 
4523
  $as_echo "$as_me: failed program was:" >&5
4456
4524
sed 's/^/| /' conftest.$ac_ext >&5
4457
4525
 
4458
4526
  ac_header_preproc=no
4459
4527
fi
4460
4528
 
4461
4529
rm -f conftest.err conftest.$ac_ext
4462
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4463
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4530
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4531
$as_echo "$ac_header_preproc" >&6; }
4464
4532
 
4465
4533
# So?  What about this header?
4466
4534
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4467
4535
  yes:no: )
4468
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4469
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4470
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4471
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4536
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4537
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4538
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4539
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4472
4540
    ac_header_preproc=yes
4473
4541
    ;;
4474
4542
  no:yes:* )
4475
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4476
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4477
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4478
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4479
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4480
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4481
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4482
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4483
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4484
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4485
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4486
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4543
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4544
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4545
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4546
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4547
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4548
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4549
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4550
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4551
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4552
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4553
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4554
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4487
4555
    ( cat <<\_ASBOX
4488
4556
## --------------------------------------------- ##
4489
4557
## Report this to daviedev@users.sourceforge.net ##
4492
4560
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4493
4561
    ;;
4494
4562
esac
4495
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4496
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4563
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4564
$as_echo_n "checking for $ac_header... " >&6; }
4497
4565
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4498
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4566
  $as_echo_n "(cached) " >&6
4499
4567
else
4500
4568
  eval "$as_ac_Header=\$ac_header_preproc"
4501
4569
fi
4502
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4503
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4504
 
echo "${ECHO_T}$ac_res" >&6; }
 
4570
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4571
                 $as_echo "$as_val"'`
 
4572
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4573
$as_echo "$ac_res" >&6; }
4505
4574
 
4506
4575
fi
4507
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4576
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4577
                 $as_echo "$as_val"'`
 
4578
   if test "x$as_val" = x""yes; then
4508
4579
  cat >>confdefs.h <<_ACEOF
4509
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4580
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4510
4581
_ACEOF
4511
4582
 
4512
4583
fi
4515
4586
 
4516
4587
 
4517
4588
# Checks for typedefs, structures, and compiler characteristics.
4518
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4519
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
4589
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
4590
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4520
4591
if test "${ac_cv_c_const+set}" = set; then
4521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4592
  $as_echo_n "(cached) " >&6
4522
4593
else
4523
4594
  cat >conftest.$ac_ext <<_ACEOF
4524
4595
/* confdefs.h.  */
4590
4661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4591
4662
  *) ac_try_echo=$ac_try;;
4592
4663
esac
4593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4665
$as_echo "$ac_try_echo") >&5
4594
4666
  (eval "$ac_compile") 2>conftest.er1
4595
4667
  ac_status=$?
4596
4668
  grep -v '^ *+' conftest.er1 >conftest.err
4597
4669
  rm -f conftest.er1
4598
4670
  cat conftest.err >&5
4599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4671
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600
4672
  (exit $ac_status); } && {
4601
4673
         test -z "$ac_c_werror_flag" ||
4602
4674
         test ! -s conftest.err
4603
4675
       } && test -s conftest.$ac_objext; then
4604
4676
  ac_cv_c_const=yes
4605
4677
else
4606
 
  echo "$as_me: failed program was:" >&5
 
4678
  $as_echo "$as_me: failed program was:" >&5
4607
4679
sed 's/^/| /' conftest.$ac_ext >&5
4608
4680
 
4609
4681
        ac_cv_c_const=no
4611
4683
 
4612
4684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613
4685
fi
4614
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4615
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
4686
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
4687
$as_echo "$ac_cv_c_const" >&6; }
4616
4688
if test $ac_cv_c_const = no; then
4617
4689
 
4618
4690
cat >>confdefs.h <<\_ACEOF
4619
 
#define const
 
4691
#define const /**/
4620
4692
_ACEOF
4621
4693
 
4622
4694
fi
4623
4695
 
4624
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
4625
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
4696
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
4697
$as_echo_n "checking for size_t... " >&6; }
4626
4698
if test "${ac_cv_type_size_t+set}" = set; then
4627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4699
  $as_echo_n "(cached) " >&6
4628
4700
else
 
4701
  ac_cv_type_size_t=no
 
4702
cat >conftest.$ac_ext <<_ACEOF
 
4703
/* confdefs.h.  */
 
4704
_ACEOF
 
4705
cat confdefs.h >>conftest.$ac_ext
 
4706
cat >>conftest.$ac_ext <<_ACEOF
 
4707
/* end confdefs.h.  */
 
4708
$ac_includes_default
 
4709
int
 
4710
main ()
 
4711
{
 
4712
if (sizeof (size_t))
 
4713
       return 0;
 
4714
  ;
 
4715
  return 0;
 
4716
}
 
4717
_ACEOF
 
4718
rm -f conftest.$ac_objext
 
4719
if { (ac_try="$ac_compile"
 
4720
case "(($ac_try" in
 
4721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4722
  *) ac_try_echo=$ac_try;;
 
4723
esac
 
4724
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4725
$as_echo "$ac_try_echo") >&5
 
4726
  (eval "$ac_compile") 2>conftest.er1
 
4727
  ac_status=$?
 
4728
  grep -v '^ *+' conftest.er1 >conftest.err
 
4729
  rm -f conftest.er1
 
4730
  cat conftest.err >&5
 
4731
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4732
  (exit $ac_status); } && {
 
4733
         test -z "$ac_c_werror_flag" ||
 
4734
         test ! -s conftest.err
 
4735
       } && test -s conftest.$ac_objext; then
4629
4736
  cat >conftest.$ac_ext <<_ACEOF
4630
4737
/* confdefs.h.  */
4631
4738
_ACEOF
4633
4740
cat >>conftest.$ac_ext <<_ACEOF
4634
4741
/* end confdefs.h.  */
4635
4742
$ac_includes_default
4636
 
typedef size_t ac__type_new_;
4637
4743
int
4638
4744
main ()
4639
4745
{
4640
 
if ((ac__type_new_ *) 0)
4641
 
  return 0;
4642
 
if (sizeof (ac__type_new_))
4643
 
  return 0;
 
4746
if (sizeof ((size_t)))
 
4747
          return 0;
4644
4748
  ;
4645
4749
  return 0;
4646
4750
}
4651
4755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652
4756
  *) ac_try_echo=$ac_try;;
4653
4757
esac
4654
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4758
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4759
$as_echo "$ac_try_echo") >&5
4655
4760
  (eval "$ac_compile") 2>conftest.er1
4656
4761
  ac_status=$?
4657
4762
  grep -v '^ *+' conftest.er1 >conftest.err
4658
4763
  rm -f conftest.er1
4659
4764
  cat conftest.err >&5
4660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4765
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661
4766
  (exit $ac_status); } && {
4662
4767
         test -z "$ac_c_werror_flag" ||
4663
4768
         test ! -s conftest.err
4664
4769
       } && test -s conftest.$ac_objext; then
4665
 
  ac_cv_type_size_t=yes
4666
 
else
4667
 
  echo "$as_me: failed program was:" >&5
4668
 
sed 's/^/| /' conftest.$ac_ext >&5
4669
 
 
4670
 
        ac_cv_type_size_t=no
4671
 
fi
4672
 
 
4673
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674
 
fi
4675
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4676
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4677
 
if test $ac_cv_type_size_t = yes; then
 
4770
  :
 
4771
else
 
4772
  $as_echo "$as_me: failed program was:" >&5
 
4773
sed 's/^/| /' conftest.$ac_ext >&5
 
4774
 
 
4775
        ac_cv_type_size_t=yes
 
4776
fi
 
4777
 
 
4778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4779
else
 
4780
  $as_echo "$as_me: failed program was:" >&5
 
4781
sed 's/^/| /' conftest.$ac_ext >&5
 
4782
 
 
4783
 
 
4784
fi
 
4785
 
 
4786
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4787
fi
 
4788
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
4789
$as_echo "$ac_cv_type_size_t" >&6; }
 
4790
if test "x$ac_cv_type_size_t" = x""yes; then
4678
4791
  :
4679
4792
else
4680
4793
 
4685
4798
fi
4686
4799
 
4687
4800
 
4688
 
  { echo "$as_me:$LINENO: checking for uint16_t" >&5
4689
 
echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
 
4801
  { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
 
4802
$as_echo_n "checking for uint16_t... " >&6; }
4690
4803
if test "${ac_cv_c_uint16_t+set}" = set; then
4691
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4804
  $as_echo_n "(cached) " >&6
4692
4805
else
4693
4806
  ac_cv_c_uint16_t=no
4694
4807
     for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
4716
4829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717
4830
  *) ac_try_echo=$ac_try;;
4718
4831
esac
4719
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4832
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4833
$as_echo "$ac_try_echo") >&5
4720
4834
  (eval "$ac_compile") 2>conftest.er1
4721
4835
  ac_status=$?
4722
4836
  grep -v '^ *+' conftest.er1 >conftest.err
4723
4837
  rm -f conftest.er1
4724
4838
  cat conftest.err >&5
4725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4839
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726
4840
  (exit $ac_status); } && {
4727
4841
         test -z "$ac_c_werror_flag" ||
4728
4842
         test ! -s conftest.err
4733
4847
esac
4734
4848
 
4735
4849
else
4736
 
  echo "$as_me: failed program was:" >&5
 
4850
  $as_echo "$as_me: failed program was:" >&5
4737
4851
sed 's/^/| /' conftest.$ac_ext >&5
4738
4852
 
4739
4853
 
4743
4857
       test "$ac_cv_c_uint16_t" != no && break
4744
4858
     done
4745
4859
fi
4746
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
4747
 
echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
 
4860
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
 
4861
$as_echo "$ac_cv_c_uint16_t" >&6; }
4748
4862
  case $ac_cv_c_uint16_t in #(
4749
4863
  no|yes) ;; #(
4750
4864
  *)
4757
4871
  esac
4758
4872
 
4759
4873
 
4760
 
  { echo "$as_me:$LINENO: checking for uint32_t" >&5
4761
 
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
 
4874
  { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
 
4875
$as_echo_n "checking for uint32_t... " >&6; }
4762
4876
if test "${ac_cv_c_uint32_t+set}" = set; then
4763
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4877
  $as_echo_n "(cached) " >&6
4764
4878
else
4765
4879
  ac_cv_c_uint32_t=no
4766
4880
     for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
4788
4902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4789
4903
  *) ac_try_echo=$ac_try;;
4790
4904
esac
4791
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4905
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4906
$as_echo "$ac_try_echo") >&5
4792
4907
  (eval "$ac_compile") 2>conftest.er1
4793
4908
  ac_status=$?
4794
4909
  grep -v '^ *+' conftest.er1 >conftest.err
4795
4910
  rm -f conftest.er1
4796
4911
  cat conftest.err >&5
4797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4912
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798
4913
  (exit $ac_status); } && {
4799
4914
         test -z "$ac_c_werror_flag" ||
4800
4915
         test ! -s conftest.err
4805
4920
esac
4806
4921
 
4807
4922
else
4808
 
  echo "$as_me: failed program was:" >&5
 
4923
  $as_echo "$as_me: failed program was:" >&5
4809
4924
sed 's/^/| /' conftest.$ac_ext >&5
4810
4925
 
4811
4926
 
4815
4930
       test "$ac_cv_c_uint32_t" != no && break
4816
4931
     done
4817
4932
fi
4818
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
4819
 
echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
 
4933
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
 
4934
$as_echo "$ac_cv_c_uint32_t" >&6; }
4820
4935
  case $ac_cv_c_uint32_t in #(
4821
4936
  no|yes) ;; #(
4822
4937
  *)
4833
4948
  esac
4834
4949
 
4835
4950
 
4836
 
  { echo "$as_me:$LINENO: checking for uint64_t" >&5
4837
 
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
 
4951
  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
 
4952
$as_echo_n "checking for uint64_t... " >&6; }
4838
4953
if test "${ac_cv_c_uint64_t+set}" = set; then
4839
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4954
  $as_echo_n "(cached) " >&6
4840
4955
else
4841
4956
  ac_cv_c_uint64_t=no
4842
4957
     for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
4864
4979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865
4980
  *) ac_try_echo=$ac_try;;
4866
4981
esac
4867
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4982
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4983
$as_echo "$ac_try_echo") >&5
4868
4984
  (eval "$ac_compile") 2>conftest.er1
4869
4985
  ac_status=$?
4870
4986
  grep -v '^ *+' conftest.er1 >conftest.err
4871
4987
  rm -f conftest.er1
4872
4988
  cat conftest.err >&5
4873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4989
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874
4990
  (exit $ac_status); } && {
4875
4991
         test -z "$ac_c_werror_flag" ||
4876
4992
         test ! -s conftest.err
4881
4997
esac
4882
4998
 
4883
4999
else
4884
 
  echo "$as_me: failed program was:" >&5
 
5000
  $as_echo "$as_me: failed program was:" >&5
4885
5001
sed 's/^/| /' conftest.$ac_ext >&5
4886
5002
 
4887
5003
 
4891
5007
       test "$ac_cv_c_uint64_t" != no && break
4892
5008
     done
4893
5009
fi
4894
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
4895
 
echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
 
5010
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
 
5011
$as_echo "$ac_cv_c_uint64_t" >&6; }
4896
5012
  case $ac_cv_c_uint64_t in #(
4897
5013
  no|yes) ;; #(
4898
5014
  *)
4909
5025
  esac
4910
5026
 
4911
5027
 
4912
 
  { echo "$as_me:$LINENO: checking for uint8_t" >&5
4913
 
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
 
5028
  { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
 
5029
$as_echo_n "checking for uint8_t... " >&6; }
4914
5030
if test "${ac_cv_c_uint8_t+set}" = set; then
4915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5031
  $as_echo_n "(cached) " >&6
4916
5032
else
4917
5033
  ac_cv_c_uint8_t=no
4918
5034
     for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
4940
5056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941
5057
  *) ac_try_echo=$ac_try;;
4942
5058
esac
4943
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5060
$as_echo "$ac_try_echo") >&5
4944
5061
  (eval "$ac_compile") 2>conftest.er1
4945
5062
  ac_status=$?
4946
5063
  grep -v '^ *+' conftest.er1 >conftest.err
4947
5064
  rm -f conftest.er1
4948
5065
  cat conftest.err >&5
4949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5066
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950
5067
  (exit $ac_status); } && {
4951
5068
         test -z "$ac_c_werror_flag" ||
4952
5069
         test ! -s conftest.err
4957
5074
esac
4958
5075
 
4959
5076
else
4960
 
  echo "$as_me: failed program was:" >&5
 
5077
  $as_echo "$as_me: failed program was:" >&5
4961
5078
sed 's/^/| /' conftest.$ac_ext >&5
4962
5079
 
4963
5080
 
4967
5084
       test "$ac_cv_c_uint8_t" != no && break
4968
5085
     done
4969
5086
fi
4970
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
4971
 
echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
 
5087
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
 
5088
$as_echo "$ac_cv_c_uint8_t" >&6; }
4972
5089
  case $ac_cv_c_uint8_t in #(
4973
5090
  no|yes) ;; #(
4974
5091
  *)
4987
5104
 
4988
5105
# Checks for library functions.
4989
5106
if test $ac_cv_c_compiler_gnu = yes; then
4990
 
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4991
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
 
5107
    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
 
5108
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
4992
5109
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5110
  $as_echo_n "(cached) " >&6
4994
5111
else
4995
5112
    ac_pattern="Autoconf.*'x'"
4996
5113
  cat >conftest.$ac_ext <<_ACEOF
5029
5146
 
5030
5147
  fi
5031
5148
fi
5032
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5033
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
 
5149
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
 
5150
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5034
5151
  if test $ac_cv_prog_gcc_traditional = yes; then
5035
5152
    CC="$CC -traditional"
5036
5153
  fi
5039
5156
 
5040
5157
for ac_header in stdlib.h
5041
5158
do
5042
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5043
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5044
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5045
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5046
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5159
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5160
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5161
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5162
$as_echo_n "checking for $ac_header... " >&6; }
 
5163
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5164
  $as_echo_n "(cached) " >&6
5048
5165
fi
5049
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5050
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5051
 
echo "${ECHO_T}$ac_res" >&6; }
 
5166
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5167
                 $as_echo "$as_val"'`
 
5168
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5169
$as_echo "$ac_res" >&6; }
5052
5170
else
5053
5171
  # Is the header compilable?
5054
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5055
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5172
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5173
$as_echo_n "checking $ac_header usability... " >&6; }
5056
5174
cat >conftest.$ac_ext <<_ACEOF
5057
5175
/* confdefs.h.  */
5058
5176
_ACEOF
5068
5186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069
5187
  *) ac_try_echo=$ac_try;;
5070
5188
esac
5071
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5189
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5190
$as_echo "$ac_try_echo") >&5
5072
5191
  (eval "$ac_compile") 2>conftest.er1
5073
5192
  ac_status=$?
5074
5193
  grep -v '^ *+' conftest.er1 >conftest.err
5075
5194
  rm -f conftest.er1
5076
5195
  cat conftest.err >&5
5077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5196
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078
5197
  (exit $ac_status); } && {
5079
5198
         test -z "$ac_c_werror_flag" ||
5080
5199
         test ! -s conftest.err
5081
5200
       } && test -s conftest.$ac_objext; then
5082
5201
  ac_header_compiler=yes
5083
5202
else
5084
 
  echo "$as_me: failed program was:" >&5
 
5203
  $as_echo "$as_me: failed program was:" >&5
5085
5204
sed 's/^/| /' conftest.$ac_ext >&5
5086
5205
 
5087
5206
        ac_header_compiler=no
5088
5207
fi
5089
5208
 
5090
5209
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5092
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5210
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5211
$as_echo "$ac_header_compiler" >&6; }
5093
5212
 
5094
5213
# Is the header present?
5095
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5096
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5214
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5215
$as_echo_n "checking $ac_header presence... " >&6; }
5097
5216
cat >conftest.$ac_ext <<_ACEOF
5098
5217
/* confdefs.h.  */
5099
5218
_ACEOF
5107
5226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108
5227
  *) ac_try_echo=$ac_try;;
5109
5228
esac
5110
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5229
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5230
$as_echo "$ac_try_echo") >&5
5111
5231
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5112
5232
  ac_status=$?
5113
5233
  grep -v '^ *+' conftest.er1 >conftest.err
5114
5234
  rm -f conftest.er1
5115
5235
  cat conftest.err >&5
5116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5236
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117
5237
  (exit $ac_status); } >/dev/null && {
5118
5238
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5119
5239
         test ! -s conftest.err
5120
5240
       }; then
5121
5241
  ac_header_preproc=yes
5122
5242
else
5123
 
  echo "$as_me: failed program was:" >&5
 
5243
  $as_echo "$as_me: failed program was:" >&5
5124
5244
sed 's/^/| /' conftest.$ac_ext >&5
5125
5245
 
5126
5246
  ac_header_preproc=no
5127
5247
fi
5128
5248
 
5129
5249
rm -f conftest.err conftest.$ac_ext
5130
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5131
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5250
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5251
$as_echo "$ac_header_preproc" >&6; }
5132
5252
 
5133
5253
# So?  What about this header?
5134
5254
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5135
5255
  yes:no: )
5136
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5137
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5138
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5139
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5256
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5257
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5258
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5259
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5140
5260
    ac_header_preproc=yes
5141
5261
    ;;
5142
5262
  no:yes:* )
5143
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5144
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5145
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5146
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5147
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5148
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5149
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5150
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5151
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5152
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5153
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5154
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5263
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5264
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5265
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5266
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5267
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5268
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5269
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5270
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5271
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5272
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5273
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5274
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5155
5275
    ( cat <<\_ASBOX
5156
5276
## --------------------------------------------- ##
5157
5277
## Report this to daviedev@users.sourceforge.net ##
5160
5280
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5161
5281
    ;;
5162
5282
esac
5163
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5164
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5283
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5284
$as_echo_n "checking for $ac_header... " >&6; }
5165
5285
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5166
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5286
  $as_echo_n "(cached) " >&6
5167
5287
else
5168
5288
  eval "$as_ac_Header=\$ac_header_preproc"
5169
5289
fi
5170
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5171
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5172
 
echo "${ECHO_T}$ac_res" >&6; }
 
5290
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5291
                 $as_echo "$as_val"'`
 
5292
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5293
$as_echo "$ac_res" >&6; }
5173
5294
 
5174
5295
fi
5175
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5296
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5297
                 $as_echo "$as_val"'`
 
5298
   if test "x$as_val" = x""yes; then
5176
5299
  cat >>confdefs.h <<_ACEOF
5177
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5300
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5178
5301
_ACEOF
5179
5302
 
5180
5303
fi
5181
5304
 
5182
5305
done
5183
5306
 
5184
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5185
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
 
5307
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
5308
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5186
5309
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5310
  $as_echo_n "(cached) " >&6
5188
5311
else
5189
5312
  if test "$cross_compiling" = yes; then
5190
5313
  ac_cv_func_malloc_0_nonnull=no
5215
5338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5216
5339
  *) ac_try_echo=$ac_try;;
5217
5340
esac
5218
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5341
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5342
$as_echo "$ac_try_echo") >&5
5219
5343
  (eval "$ac_link") 2>&5
5220
5344
  ac_status=$?
5221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5345
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222
5346
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5223
5347
  { (case "(($ac_try" in
5224
5348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225
5349
  *) ac_try_echo=$ac_try;;
5226
5350
esac
5227
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5351
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5352
$as_echo "$ac_try_echo") >&5
5228
5353
  (eval "$ac_try") 2>&5
5229
5354
  ac_status=$?
5230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5355
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231
5356
  (exit $ac_status); }; }; then
5232
5357
  ac_cv_func_malloc_0_nonnull=yes
5233
5358
else
5234
 
  echo "$as_me: program exited with status $ac_status" >&5
5235
 
echo "$as_me: failed program was:" >&5
 
5359
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5360
$as_echo "$as_me: failed program was:" >&5
5236
5361
sed 's/^/| /' conftest.$ac_ext >&5
5237
5362
 
5238
5363
( exit $ac_status )
5239
5364
ac_cv_func_malloc_0_nonnull=no
5240
5365
fi
 
5366
rm -rf conftest.dSYM
5241
5367
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5242
5368
fi
5243
5369
 
5244
5370
 
5245
5371
fi
5246
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5247
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
 
5372
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
5373
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5248
5374
if test $ac_cv_func_malloc_0_nonnull = yes; then
5249
5375
 
5250
5376
cat >>confdefs.h <<\_ACEOF
5271
5397
 
5272
5398
 
5273
5399
 
5274
 
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
5275
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
 
5400
{ $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
 
5401
$as_echo_n "checking for working memcmp... " >&6; }
5276
5402
if test "${ac_cv_func_memcmp_working+set}" = set; then
5277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5403
  $as_echo_n "(cached) " >&6
5278
5404
else
5279
5405
  if test "$cross_compiling" = yes; then
5280
5406
  ac_cv_func_memcmp_working=no
5324
5450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325
5451
  *) ac_try_echo=$ac_try;;
5326
5452
esac
5327
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5453
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5454
$as_echo "$ac_try_echo") >&5
5328
5455
  (eval "$ac_link") 2>&5
5329
5456
  ac_status=$?
5330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5457
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331
5458
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5332
5459
  { (case "(($ac_try" in
5333
5460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334
5461
  *) ac_try_echo=$ac_try;;
5335
5462
esac
5336
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5463
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5464
$as_echo "$ac_try_echo") >&5
5337
5465
  (eval "$ac_try") 2>&5
5338
5466
  ac_status=$?
5339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5467
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340
5468
  (exit $ac_status); }; }; then
5341
5469
  ac_cv_func_memcmp_working=yes
5342
5470
else
5343
 
  echo "$as_me: program exited with status $ac_status" >&5
5344
 
echo "$as_me: failed program was:" >&5
 
5471
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5472
$as_echo "$as_me: failed program was:" >&5
5345
5473
sed 's/^/| /' conftest.$ac_ext >&5
5346
5474
 
5347
5475
( exit $ac_status )
5348
5476
ac_cv_func_memcmp_working=no
5349
5477
fi
 
5478
rm -rf conftest.dSYM
5350
5479
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5351
5480
fi
5352
5481
 
5353
5482
 
5354
5483
fi
5355
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5356
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
 
5484
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
 
5485
$as_echo "$ac_cv_func_memcmp_working" >&6; }
5357
5486
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
5358
5487
  *" memcmp.$ac_objext "* ) ;;
5359
5488
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
5361
5490
esac
5362
5491
 
5363
5492
 
5364
 
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
5365
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
 
5493
{ $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
 
5494
$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
5366
5495
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
5367
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5496
  $as_echo_n "(cached) " >&6
5368
5497
else
5369
5498
  rm -f conftest.sym conftest.file
5370
5499
echo >conftest.file
5397
5526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5398
5527
  *) ac_try_echo=$ac_try;;
5399
5528
esac
5400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5529
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5530
$as_echo "$ac_try_echo") >&5
5401
5531
  (eval "$ac_link") 2>&5
5402
5532
  ac_status=$?
5403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5533
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404
5534
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5405
5535
  { (case "(($ac_try" in
5406
5536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407
5537
  *) ac_try_echo=$ac_try;;
5408
5538
esac
5409
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5539
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5540
$as_echo "$ac_try_echo") >&5
5410
5541
  (eval "$ac_try") 2>&5
5411
5542
  ac_status=$?
5412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413
5544
  (exit $ac_status); }; }; then
5414
5545
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
5415
5546
else
5416
 
  echo "$as_me: program exited with status $ac_status" >&5
5417
 
echo "$as_me: failed program was:" >&5
 
5547
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5548
$as_echo "$as_me: failed program was:" >&5
5418
5549
sed 's/^/| /' conftest.$ac_ext >&5
5419
5550
 
5420
5551
( exit $ac_status )
5421
5552
ac_cv_func_lstat_dereferences_slashed_symlink=no
5422
5553
fi
 
5554
rm -rf conftest.dSYM
5423
5555
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5424
5556
fi
5425
5557
 
5432
5564
rm -f conftest.sym conftest.file
5433
5565
 
5434
5566
fi
5435
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5436
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
 
5567
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
 
5568
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5437
5569
 
5438
5570
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5439
5571
 
5451
5583
 
5452
5584
fi
5453
5585
 
5454
 
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
5455
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
 
5586
{ $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
 
5587
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
5456
5588
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
5457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5589
  $as_echo_n "(cached) " >&6
5458
5590
else
5459
5591
  if test "$cross_compiling" = yes; then
5460
5592
  ac_cv_func_stat_empty_string_bug=yes
5481
5613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5482
5614
  *) ac_try_echo=$ac_try;;
5483
5615
esac
5484
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5616
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5617
$as_echo "$ac_try_echo") >&5
5485
5618
  (eval "$ac_link") 2>&5
5486
5619
  ac_status=$?
5487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5620
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488
5621
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5489
5622
  { (case "(($ac_try" in
5490
5623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5491
5624
  *) ac_try_echo=$ac_try;;
5492
5625
esac
5493
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5626
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5627
$as_echo "$ac_try_echo") >&5
5494
5628
  (eval "$ac_try") 2>&5
5495
5629
  ac_status=$?
5496
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5630
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497
5631
  (exit $ac_status); }; }; then
5498
5632
  ac_cv_func_stat_empty_string_bug=no
5499
5633
else
5500
 
  echo "$as_me: program exited with status $ac_status" >&5
5501
 
echo "$as_me: failed program was:" >&5
 
5634
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5635
$as_echo "$as_me: failed program was:" >&5
5502
5636
sed 's/^/| /' conftest.$ac_ext >&5
5503
5637
 
5504
5638
( exit $ac_status )
5505
5639
ac_cv_func_stat_empty_string_bug=yes
5506
5640
fi
 
5641
rm -rf conftest.dSYM
5507
5642
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5508
5643
fi
5509
5644
 
5510
5645
 
5511
5646
fi
5512
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
5513
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
 
5647
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
 
5648
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
5514
5649
if test $ac_cv_func_stat_empty_string_bug = yes; then
5515
5650
  case " $LIBOBJS " in
5516
5651
  *" stat.$ac_objext "* ) ;;
5532
5667
 
5533
5668
for ac_func in memset regcomp strdup strerror strtoul
5534
5669
do
5535
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5536
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5537
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
5670
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5671
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
5672
$as_echo_n "checking for $ac_func... " >&6; }
5538
5673
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5674
  $as_echo_n "(cached) " >&6
5540
5675
else
5541
5676
  cat >conftest.$ac_ext <<_ACEOF
5542
5677
/* confdefs.h.  */
5589
5724
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590
5725
  *) ac_try_echo=$ac_try;;
5591
5726
esac
5592
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5727
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5728
$as_echo "$ac_try_echo") >&5
5593
5729
  (eval "$ac_link") 2>conftest.er1
5594
5730
  ac_status=$?
5595
5731
  grep -v '^ *+' conftest.er1 >conftest.err
5596
5732
  rm -f conftest.er1
5597
5733
  cat conftest.err >&5
5598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5734
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599
5735
  (exit $ac_status); } && {
5600
5736
         test -z "$ac_c_werror_flag" ||
5601
5737
         test ! -s conftest.err
5602
 
       } && test -s conftest$ac_exeext &&
5603
 
       $as_test_x conftest$ac_exeext; then
 
5738
       } && test -s conftest$ac_exeext && {
 
5739
         test "$cross_compiling" = yes ||
 
5740
         $as_test_x conftest$ac_exeext
 
5741
       }; then
5604
5742
  eval "$as_ac_var=yes"
5605
5743
else
5606
 
  echo "$as_me: failed program was:" >&5
 
5744
  $as_echo "$as_me: failed program was:" >&5
5607
5745
sed 's/^/| /' conftest.$ac_ext >&5
5608
5746
 
5609
5747
        eval "$as_ac_var=no"
5610
5748
fi
5611
5749
 
 
5750
rm -rf conftest.dSYM
5612
5751
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5613
5752
      conftest$ac_exeext conftest.$ac_ext
5614
5753
fi
5615
 
ac_res=`eval echo '${'$as_ac_var'}'`
5616
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5617
 
echo "${ECHO_T}$ac_res" >&6; }
5618
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5754
ac_res=`eval 'as_val=${'$as_ac_var'}
 
5755
                 $as_echo "$as_val"'`
 
5756
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5757
$as_echo "$ac_res" >&6; }
 
5758
as_val=`eval 'as_val=${'$as_ac_var'}
 
5759
                 $as_echo "$as_val"'`
 
5760
   if test "x$as_val" = x""yes; then
5619
5761
  cat >>confdefs.h <<_ACEOF
5620
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5762
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5621
5763
_ACEOF
5622
5764
 
5623
5765
fi
5653
5795
    case $ac_val in #(
5654
5796
    *${as_nl}*)
5655
5797
      case $ac_var in #(
5656
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5657
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
5798
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
5799
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5658
5800
      esac
5659
5801
      case $ac_var in #(
5660
5802
      _ | IFS | as_nl) ;; #(
 
5803
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5661
5804
      *) $as_unset $ac_var ;;
5662
5805
      esac ;;
5663
5806
    esac
5690
5833
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5691
5834
  if test -w "$cache_file"; then
5692
5835
    test "x$cache_file" != "x/dev/null" &&
5693
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5694
 
echo "$as_me: updating cache $cache_file" >&6;}
 
5836
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5837
$as_echo "$as_me: updating cache $cache_file" >&6;}
5695
5838
    cat confcache >$cache_file
5696
5839
  else
5697
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5698
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
5840
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5841
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5699
5842
  fi
5700
5843
fi
5701
5844
rm -f confcache
5711
5854
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5712
5855
  # 1. Remove the extension, and $U if already installed.
5713
5856
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5714
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
5857
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5715
5858
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5716
5859
  #    will be set to the directory where LIBOBJS objects are built.
5717
5860
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5723
5866
 
5724
5867
 
5725
5868
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5726
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
5869
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5727
5870
Usually this means the macro was only invoked conditionally." >&5
5728
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
5871
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5729
5872
Usually this means the macro was only invoked conditionally." >&2;}
5730
5873
   { (exit 1); exit 1; }; }
5731
5874
fi
5732
5875
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5733
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5734
 
Usually this means the macro was only invoked conditionally." >&5
5735
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5736
 
Usually this means the macro was only invoked conditionally." >&2;}
5737
 
   { (exit 1); exit 1; }; }
5738
 
fi
5739
 
if test -z "${HAVE_LIBUSB_TRUE}" && test -z "${HAVE_LIBUSB_FALSE}"; then
5740
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBUSB\" was never defined.
5741
 
Usually this means the macro was only invoked conditionally." >&5
5742
 
echo "$as_me: error: conditional \"HAVE_LIBUSB\" was never defined.
 
5876
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
5877
Usually this means the macro was only invoked conditionally." >&5
 
5878
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5743
5879
Usually this means the macro was only invoked conditionally." >&2;}
5744
5880
   { (exit 1); exit 1; }; }
5745
5881
fi
5746
5882
 
5747
5883
: ${CONFIG_STATUS=./config.status}
 
5884
ac_write_fail=0
5748
5885
ac_clean_files_save=$ac_clean_files
5749
5886
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5750
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5751
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5752
 
cat >$CONFIG_STATUS <<_ACEOF
 
5887
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
5888
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
5889
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5753
5890
#! $SHELL
5754
5891
# Generated by $as_me.
5755
5892
# Run this file to recreate the current configuration.
5762
5899
SHELL=\${CONFIG_SHELL-$SHELL}
5763
5900
_ACEOF
5764
5901
 
5765
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5902
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5766
5903
## --------------------- ##
5767
5904
## M4sh Initialization.  ##
5768
5905
## --------------------- ##
5772
5909
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5773
5910
  emulate sh
5774
5911
  NULLCMD=:
5775
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5912
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5776
5913
  # is contrary to our usage.  Disable this feature.
5777
5914
  alias -g '${1+"$@"}'='"$@"'
5778
5915
  setopt NO_GLOB_SUBST
5794
5931
as_cr_digits='0123456789'
5795
5932
as_cr_alnum=$as_cr_Letters$as_cr_digits
5796
5933
 
 
5934
as_nl='
 
5935
'
 
5936
export as_nl
 
5937
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
5938
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5939
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
5940
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
5941
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5942
  as_echo='printf %s\n'
 
5943
  as_echo_n='printf %s'
 
5944
else
 
5945
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
5946
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
5947
    as_echo_n='/usr/ucb/echo -n'
 
5948
  else
 
5949
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
5950
    as_echo_n_body='eval
 
5951
      arg=$1;
 
5952
      case $arg in
 
5953
      *"$as_nl"*)
 
5954
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
5955
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
5956
      esac;
 
5957
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
5958
    '
 
5959
    export as_echo_n_body
 
5960
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
5961
  fi
 
5962
  export as_echo_body
 
5963
  as_echo='sh -c $as_echo_body as_echo'
 
5964
fi
 
5965
 
5797
5966
# The user is always right.
5798
5967
if test "${PATH_SEPARATOR+set}" != set; then
5799
 
  echo "#! /bin/sh" >conf$$.sh
5800
 
  echo  "exit 0"   >>conf$$.sh
5801
 
  chmod +x conf$$.sh
5802
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5803
 
    PATH_SEPARATOR=';'
5804
 
  else
5805
 
    PATH_SEPARATOR=:
5806
 
  fi
5807
 
  rm -f conf$$.sh
 
5968
  PATH_SEPARATOR=:
 
5969
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
5970
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
5971
      PATH_SEPARATOR=';'
 
5972
  }
5808
5973
fi
5809
5974
 
5810
5975
# Support unset when possible.
5820
5985
# there to prevent editors from complaining about space-tab.
5821
5986
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5822
5987
# splitting by setting IFS to empty value.)
5823
 
as_nl='
5824
 
'
5825
5988
IFS=" ""        $as_nl"
5826
5989
 
5827
5990
# Find who we are.  Look in the path if we contain no directory separator.
5844
6007
  as_myself=$0
5845
6008
fi
5846
6009
if test ! -f "$as_myself"; then
5847
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
6010
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5848
6011
  { (exit 1); exit 1; }
5849
6012
fi
5850
6013
 
5857
6020
PS4='+ '
5858
6021
 
5859
6022
# NLS nuisances.
5860
 
for as_var in \
5861
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5862
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5863
 
  LC_TELEPHONE LC_TIME
5864
 
do
5865
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5866
 
    eval $as_var=C; export $as_var
5867
 
  else
5868
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5869
 
  fi
5870
 
done
 
6023
LC_ALL=C
 
6024
export LC_ALL
 
6025
LANGUAGE=C
 
6026
export LANGUAGE
5871
6027
 
5872
6028
# Required to use basename.
5873
6029
if expr a : '\(a\)' >/dev/null 2>&1 &&
5889
6045
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5890
6046
         X"$0" : 'X\(//\)$' \| \
5891
6047
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5892
 
echo X/"$0" |
 
6048
$as_echo X/"$0" |
5893
6049
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5894
6050
            s//\1/
5895
6051
            q
5940
6096
      s/-\n.*//
5941
6097
    ' >$as_me.lineno &&
5942
6098
  chmod +x "$as_me.lineno" ||
5943
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
6099
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5944
6100
   { (exit 1); exit 1; }; }
5945
6101
 
5946
6102
  # Don't try to exec as it changes $[0], causing all sort of problems
5968
6124
*)
5969
6125
  ECHO_N='-n';;
5970
6126
esac
5971
 
 
5972
6127
if expr a : '\(a\)' >/dev/null 2>&1 &&
5973
6128
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5974
6129
  as_expr=expr
5981
6136
  rm -f conf$$.dir/conf$$.file
5982
6137
else
5983
6138
  rm -f conf$$.dir
5984
 
  mkdir conf$$.dir
 
6139
  mkdir conf$$.dir 2>/dev/null
5985
6140
fi
5986
 
echo >conf$$.file
5987
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
5988
 
  as_ln_s='ln -s'
5989
 
  # ... but there are two gotchas:
5990
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5991
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5992
 
  # In both cases, we have to default to `cp -p'.
5993
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6141
if (echo >conf$$.file) 2>/dev/null; then
 
6142
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
6143
    as_ln_s='ln -s'
 
6144
    # ... but there are two gotchas:
 
6145
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6146
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6147
    # In both cases, we have to default to `cp -p'.
 
6148
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6149
      as_ln_s='cp -p'
 
6150
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
6151
    as_ln_s=ln
 
6152
  else
5994
6153
    as_ln_s='cp -p'
5995
 
elif ln conf$$.file conf$$ 2>/dev/null; then
5996
 
  as_ln_s=ln
 
6154
  fi
5997
6155
else
5998
6156
  as_ln_s='cp -p'
5999
6157
fi
6018
6176
  as_test_x='
6019
6177
    eval sh -c '\''
6020
6178
      if test -d "$1"; then
6021
 
        test -d "$1/.";
 
6179
        test -d "$1/.";
6022
6180
      else
6023
6181
        case $1 in
6024
 
        -*)set "./$1";;
 
6182
        -*)set "./$1";;
6025
6183
        esac;
6026
6184
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6027
6185
        ???[sx]*):;;*)false;;esac;fi
6043
6201
# report actual input values of CONFIG_FILES etc. instead of their
6044
6202
# values after options handling.
6045
6203
ac_log="
6046
 
This file was extended by u3-tool $as_me 0.2, which was
6047
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
6204
This file was extended by u3-tool $as_me 0.3, which was
 
6205
generated by GNU Autoconf 2.63.  Invocation command line was
6048
6206
 
6049
6207
  CONFIG_FILES    = $CONFIG_FILES
6050
6208
  CONFIG_HEADERS  = $CONFIG_HEADERS
6057
6215
 
6058
6216
_ACEOF
6059
6217
 
6060
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6218
case $ac_config_files in *"
 
6219
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
6220
esac
 
6221
 
 
6222
case $ac_config_headers in *"
 
6223
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
6224
esac
 
6225
 
 
6226
 
 
6227
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6061
6228
# Files that config.status was made for.
6062
6229
config_files="$ac_config_files"
6063
6230
config_headers="$ac_config_headers"
6065
6232
 
6066
6233
_ACEOF
6067
6234
 
6068
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6235
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6069
6236
ac_cs_usage="\
6070
6237
\`$as_me' instantiates files from templates according to the
6071
6238
current configuration.
6072
6239
 
6073
 
Usage: $0 [OPTIONS] [FILE]...
 
6240
Usage: $0 [OPTION]... [FILE]...
6074
6241
 
6075
6242
  -h, --help       print this help, then exit
6076
6243
  -V, --version    print version number and configuration settings, then exit
6077
 
  -q, --quiet      do not print progress messages
 
6244
  -q, --quiet, --silent
 
6245
                   do not print progress messages
6078
6246
  -d, --debug      don't remove temporary files
6079
6247
      --recheck    update $as_me by reconfiguring in the same conditions
6080
 
  --file=FILE[:TEMPLATE]
6081
 
                   instantiate the configuration file FILE
6082
 
  --header=FILE[:TEMPLATE]
6083
 
                   instantiate the configuration header FILE
 
6248
      --file=FILE[:TEMPLATE]
 
6249
                   instantiate the configuration file FILE
 
6250
      --header=FILE[:TEMPLATE]
 
6251
                   instantiate the configuration header FILE
6084
6252
 
6085
6253
Configuration files:
6086
6254
$config_files
6094
6262
Report bugs to <bug-autoconf@gnu.org>."
6095
6263
 
6096
6264
_ACEOF
6097
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6265
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6098
6266
ac_cs_version="\\
6099
 
u3-tool config.status 0.2
6100
 
configured by $0, generated by GNU Autoconf 2.61,
6101
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6267
u3-tool config.status 0.3
 
6268
configured by $0, generated by GNU Autoconf 2.63,
 
6269
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6102
6270
 
6103
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
6271
Copyright (C) 2008 Free Software Foundation, Inc.
6104
6272
This config.status script is free software; the Free Software Foundation
6105
6273
gives unlimited permission to copy, distribute and modify it."
6106
6274
 
6108
6276
srcdir='$srcdir'
6109
6277
INSTALL='$INSTALL'
6110
6278
MKDIR_P='$MKDIR_P'
 
6279
AWK='$AWK'
 
6280
test -n "\$AWK" || AWK=awk
6111
6281
_ACEOF
6112
6282
 
6113
 
cat >>$CONFIG_STATUS <<\_ACEOF
6114
 
# If no file are specified by the user, then we need to provide default
6115
 
# value.  By we need to know if files were specified by the user.
 
6283
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6284
# The default lists apply if the user does not specify any file.
6116
6285
ac_need_defaults=:
6117
6286
while test $# != 0
6118
6287
do
6134
6303
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6135
6304
    ac_cs_recheck=: ;;
6136
6305
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6137
 
    echo "$ac_cs_version"; exit ;;
 
6306
    $as_echo "$ac_cs_version"; exit ;;
6138
6307
  --debug | --debu | --deb | --de | --d | -d )
6139
6308
    debug=: ;;
6140
6309
  --file | --fil | --fi | --f )
6141
6310
    $ac_shift
6142
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
6311
    case $ac_optarg in
 
6312
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6313
    esac
 
6314
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6143
6315
    ac_need_defaults=false;;
6144
6316
  --header | --heade | --head | --hea )
6145
6317
    $ac_shift
6146
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
6318
    case $ac_optarg in
 
6319
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6320
    esac
 
6321
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6147
6322
    ac_need_defaults=false;;
6148
6323
  --he | --h)
6149
6324
    # Conflict between --help and --header
6150
 
    { echo "$as_me: error: ambiguous option: $1
 
6325
    { $as_echo "$as_me: error: ambiguous option: $1
6151
6326
Try \`$0 --help' for more information." >&2
6152
6327
   { (exit 1); exit 1; }; };;
6153
6328
  --help | --hel | -h )
6154
 
    echo "$ac_cs_usage"; exit ;;
 
6329
    $as_echo "$ac_cs_usage"; exit ;;
6155
6330
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6156
6331
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6157
6332
    ac_cs_silent=: ;;
6158
6333
 
6159
6334
  # This is an error.
6160
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
6335
  -*) { $as_echo "$as_me: error: unrecognized option: $1
6161
6336
Try \`$0 --help' for more information." >&2
6162
6337
   { (exit 1); exit 1; }; } ;;
6163
6338
 
6176
6351
fi
6177
6352
 
6178
6353
_ACEOF
6179
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6354
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6180
6355
if \$ac_cs_recheck; then
6181
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6182
 
  CONFIG_SHELL=$SHELL
 
6356
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6357
  shift
 
6358
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
6359
  CONFIG_SHELL='$SHELL'
6183
6360
  export CONFIG_SHELL
6184
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6361
  exec "\$@"
6185
6362
fi
6186
6363
 
6187
6364
_ACEOF
6188
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6365
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6189
6366
exec 5>>config.log
6190
6367
{
6191
6368
  echo
6192
6369
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6193
6370
## Running $as_me. ##
6194
6371
_ASBOX
6195
 
  echo "$ac_log"
 
6372
  $as_echo "$ac_log"
6196
6373
} >&5
6197
6374
 
6198
6375
_ACEOF
6199
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6376
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6200
6377
#
6201
6378
# INIT-COMMANDS
6202
6379
#
6204
6381
 
6205
6382
_ACEOF
6206
6383
 
6207
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6384
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6208
6385
 
6209
6386
# Handling of arguments.
6210
6387
for ac_config_target in $ac_config_targets
6216
6393
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6217
6394
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6218
6395
 
6219
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6220
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
6396
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
6397
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6221
6398
   { (exit 1); exit 1; }; };;
6222
6399
  esac
6223
6400
done
6258
6435
  (umask 077 && mkdir "$tmp")
6259
6436
} ||
6260
6437
{
6261
 
   echo "$me: cannot create a temporary directory in ." >&2
 
6438
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6262
6439
   { (exit 1); exit 1; }
6263
6440
}
6264
6441
 
6265
 
#
6266
 
# Set up the sed scripts for CONFIG_FILES section.
6267
 
#
6268
 
 
6269
 
# No need to generate the scripts if there are no CONFIG_FILES.
6270
 
# This happens for instance when ./config.status config.h
 
6442
# Set up the scripts for CONFIG_FILES section.
 
6443
# No need to generate them if there are no CONFIG_FILES.
 
6444
# This happens for instance with `./config.status config.h'.
6271
6445
if test -n "$CONFIG_FILES"; then
6272
6446
 
 
6447
 
 
6448
ac_cr='
 
 
b"'"
 
6449
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
6450
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
6451
  ac_cs_awk_cr='\\r'
 
6452
else
 
6453
  ac_cs_awk_cr=$ac_cr
 
6454
fi
 
6455
 
 
6456
echo 'BEGIN {' >"$tmp/subs1.awk" &&
6273
6457
_ACEOF
6274
6458
 
6275
6459
 
6276
 
 
 
6460
{
 
6461
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
6462
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
6463
  echo "_ACEOF"
 
6464
} >conf$$subs.sh ||
 
6465
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6466
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6467
   { (exit 1); exit 1; }; }
 
6468
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6277
6469
ac_delim='%!_!# '
6278
6470
for ac_last_try in false false false false false :; do
6279
 
  cat >conf$$subs.sed <<_ACEOF
6280
 
SHELL!$SHELL$ac_delim
6281
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6282
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6283
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6284
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6285
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6286
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6287
 
exec_prefix!$exec_prefix$ac_delim
6288
 
prefix!$prefix$ac_delim
6289
 
program_transform_name!$program_transform_name$ac_delim
6290
 
bindir!$bindir$ac_delim
6291
 
sbindir!$sbindir$ac_delim
6292
 
libexecdir!$libexecdir$ac_delim
6293
 
datarootdir!$datarootdir$ac_delim
6294
 
datadir!$datadir$ac_delim
6295
 
sysconfdir!$sysconfdir$ac_delim
6296
 
sharedstatedir!$sharedstatedir$ac_delim
6297
 
localstatedir!$localstatedir$ac_delim
6298
 
includedir!$includedir$ac_delim
6299
 
oldincludedir!$oldincludedir$ac_delim
6300
 
docdir!$docdir$ac_delim
6301
 
infodir!$infodir$ac_delim
6302
 
htmldir!$htmldir$ac_delim
6303
 
dvidir!$dvidir$ac_delim
6304
 
pdfdir!$pdfdir$ac_delim
6305
 
psdir!$psdir$ac_delim
6306
 
libdir!$libdir$ac_delim
6307
 
localedir!$localedir$ac_delim
6308
 
mandir!$mandir$ac_delim
6309
 
DEFS!$DEFS$ac_delim
6310
 
ECHO_C!$ECHO_C$ac_delim
6311
 
ECHO_N!$ECHO_N$ac_delim
6312
 
ECHO_T!$ECHO_T$ac_delim
6313
 
LIBS!$LIBS$ac_delim
6314
 
build_alias!$build_alias$ac_delim
6315
 
host_alias!$host_alias$ac_delim
6316
 
target_alias!$target_alias$ac_delim
6317
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6318
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6319
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
6320
 
am__isrc!$am__isrc$ac_delim
6321
 
CYGPATH_W!$CYGPATH_W$ac_delim
6322
 
PACKAGE!$PACKAGE$ac_delim
6323
 
VERSION!$VERSION$ac_delim
6324
 
ACLOCAL!$ACLOCAL$ac_delim
6325
 
AUTOCONF!$AUTOCONF$ac_delim
6326
 
AUTOMAKE!$AUTOMAKE$ac_delim
6327
 
AUTOHEADER!$AUTOHEADER$ac_delim
6328
 
MAKEINFO!$MAKEINFO$ac_delim
6329
 
install_sh!$install_sh$ac_delim
6330
 
STRIP!$STRIP$ac_delim
6331
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6332
 
mkdir_p!$mkdir_p$ac_delim
6333
 
AWK!$AWK$ac_delim
6334
 
SET_MAKE!$SET_MAKE$ac_delim
6335
 
am__leading_dot!$am__leading_dot$ac_delim
6336
 
AMTAR!$AMTAR$ac_delim
6337
 
am__tar!$am__tar$ac_delim
6338
 
am__untar!$am__untar$ac_delim
6339
 
CC!$CC$ac_delim
6340
 
CFLAGS!$CFLAGS$ac_delim
6341
 
LDFLAGS!$LDFLAGS$ac_delim
6342
 
CPPFLAGS!$CPPFLAGS$ac_delim
6343
 
ac_ct_CC!$ac_ct_CC$ac_delim
6344
 
EXEEXT!$EXEEXT$ac_delim
6345
 
OBJEXT!$OBJEXT$ac_delim
6346
 
DEPDIR!$DEPDIR$ac_delim
6347
 
am__include!$am__include$ac_delim
6348
 
am__quote!$am__quote$ac_delim
6349
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6350
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6351
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6352
 
CCDEPMODE!$CCDEPMODE$ac_delim
6353
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6354
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6355
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
6356
 
LIBUSB_CFLAGS!$LIBUSB_CFLAGS$ac_delim
6357
 
LIBUSB_LIBS!$LIBUSB_LIBS$ac_delim
6358
 
HAVE_LIBUSB_TRUE!$HAVE_LIBUSB_TRUE$ac_delim
6359
 
HAVE_LIBUSB_FALSE!$HAVE_LIBUSB_FALSE$ac_delim
6360
 
CPP!$CPP$ac_delim
6361
 
GREP!$GREP$ac_delim
6362
 
EGREP!$EGREP$ac_delim
6363
 
LIBOBJS!$LIBOBJS$ac_delim
6364
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
6365
 
_ACEOF
 
6471
  . ./conf$$subs.sh ||
 
6472
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6473
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6474
   { (exit 1); exit 1; }; }
6366
6475
 
6367
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
 
6476
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
6477
  if test $ac_delim_n = $ac_delim_num; then
6368
6478
    break
6369
6479
  elif $ac_last_try; then
6370
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6371
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6480
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6481
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6372
6482
   { (exit 1); exit 1; }; }
6373
6483
  else
6374
6484
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6375
6485
  fi
6376
6486
done
6377
 
 
6378
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6379
 
if test -n "$ac_eof"; then
6380
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6381
 
  ac_eof=`expr $ac_eof + 1`
6382
 
fi
6383
 
 
6384
 
cat >>$CONFIG_STATUS <<_ACEOF
6385
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6386
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6387
 
_ACEOF
6388
 
sed '
6389
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6390
 
s/^/s,@/; s/!/@,|#_!!_#|/
6391
 
:n
6392
 
t n
6393
 
s/'"$ac_delim"'$/,g/; t
6394
 
s/$/\\/; p
6395
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6396
 
' >>$CONFIG_STATUS <conf$$subs.sed
6397
 
rm -f conf$$subs.sed
6398
 
cat >>$CONFIG_STATUS <<_ACEOF
6399
 
:end
6400
 
s/|#_!!_#|//g
6401
 
CEOF$ac_eof
6402
 
_ACEOF
6403
 
 
 
6487
rm -f conf$$subs.sh
 
6488
 
 
6489
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6490
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
6491
_ACEOF
 
6492
sed -n '
 
6493
h
 
6494
s/^/S["/; s/!.*/"]=/
 
6495
p
 
6496
g
 
6497
s/^[^!]*!//
 
6498
:repl
 
6499
t repl
 
6500
s/'"$ac_delim"'$//
 
6501
t delim
 
6502
:nl
 
6503
h
 
6504
s/\(.\{148\}\).*/\1/
 
6505
t more1
 
6506
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
6507
p
 
6508
n
 
6509
b repl
 
6510
:more1
 
6511
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
6512
p
 
6513
g
 
6514
s/.\{148\}//
 
6515
t nl
 
6516
:delim
 
6517
h
 
6518
s/\(.\{148\}\).*/\1/
 
6519
t more2
 
6520
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
6521
p
 
6522
b
 
6523
:more2
 
6524
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
6525
p
 
6526
g
 
6527
s/.\{148\}//
 
6528
t delim
 
6529
' <conf$$subs.awk | sed '
 
6530
/^[^""]/{
 
6531
  N
 
6532
  s/\n//
 
6533
}
 
6534
' >>$CONFIG_STATUS || ac_write_fail=1
 
6535
rm -f conf$$subs.awk
 
6536
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6537
_ACAWK
 
6538
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
6539
  for (key in S) S_is_set[key] = 1
 
6540
  FS = ""
 
6541
 
 
6542
}
 
6543
{
 
6544
  line = $ 0
 
6545
  nfields = split(line, field, "@")
 
6546
  substed = 0
 
6547
  len = length(field[1])
 
6548
  for (i = 2; i < nfields; i++) {
 
6549
    key = field[i]
 
6550
    keylen = length(key)
 
6551
    if (S_is_set[key]) {
 
6552
      value = S[key]
 
6553
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
6554
      len += length(value) + length(field[++i])
 
6555
      substed = 1
 
6556
    } else
 
6557
      len += 1 + keylen
 
6558
  }
 
6559
 
 
6560
  print line
 
6561
}
 
6562
 
 
6563
_ACAWK
 
6564
_ACEOF
 
6565
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6566
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
6567
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
6568
else
 
6569
  cat
 
6570
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
6571
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
6572
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
6573
   { (exit 1); exit 1; }; }
 
6574
_ACEOF
6404
6575
 
6405
6576
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6406
6577
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6417
6588
}'
6418
6589
fi
6419
6590
 
6420
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6591
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6421
6592
fi # test -n "$CONFIG_FILES"
6422
6593
 
6423
 
 
6424
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
6594
# Set up the scripts for CONFIG_HEADERS section.
 
6595
# No need to generate them if there are no CONFIG_HEADERS.
 
6596
# This happens for instance with `./config.status Makefile'.
 
6597
if test -n "$CONFIG_HEADERS"; then
 
6598
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
6599
BEGIN {
 
6600
_ACEOF
 
6601
 
 
6602
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
6603
# here-document in config.status, that substitutes the proper values into
 
6604
# config.h.in to produce config.h.
 
6605
 
 
6606
# Create a delimiter string that does not exist in confdefs.h, to ease
 
6607
# handling of long lines.
 
6608
ac_delim='%!_!# '
 
6609
for ac_last_try in false false :; do
 
6610
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
6611
  if test -z "$ac_t"; then
 
6612
    break
 
6613
  elif $ac_last_try; then
 
6614
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
6615
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
6616
   { (exit 1); exit 1; }; }
 
6617
  else
 
6618
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6619
  fi
 
6620
done
 
6621
 
 
6622
# For the awk script, D is an array of macro values keyed by name,
 
6623
# likewise P contains macro parameters if any.  Preserve backslash
 
6624
# newline sequences.
 
6625
 
 
6626
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
6627
sed -n '
 
6628
s/.\{148\}/&'"$ac_delim"'/g
 
6629
t rset
 
6630
:rset
 
6631
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
6632
t def
 
6633
d
 
6634
:def
 
6635
s/\\$//
 
6636
t bsnl
 
6637
s/["\\]/\\&/g
 
6638
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6639
D["\1"]=" \3"/p
 
6640
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
6641
d
 
6642
:bsnl
 
6643
s/["\\]/\\&/g
 
6644
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6645
D["\1"]=" \3\\\\\\n"\\/p
 
6646
t cont
 
6647
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
6648
t cont
 
6649
d
 
6650
:cont
 
6651
n
 
6652
s/.\{148\}/&'"$ac_delim"'/g
 
6653
t clear
 
6654
:clear
 
6655
s/\\$//
 
6656
t bsnlc
 
6657
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
6658
d
 
6659
:bsnlc
 
6660
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
6661
b cont
 
6662
' <confdefs.h | sed '
 
6663
s/'"$ac_delim"'/"\\\
 
6664
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
6665
 
 
6666
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6667
  for (key in D) D_is_set[key] = 1
 
6668
  FS = ""
 
6669
}
 
6670
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
6671
  line = \$ 0
 
6672
  split(line, arg, " ")
 
6673
  if (arg[1] == "#") {
 
6674
    defundef = arg[2]
 
6675
    mac1 = arg[3]
 
6676
  } else {
 
6677
    defundef = substr(arg[1], 2)
 
6678
    mac1 = arg[2]
 
6679
  }
 
6680
  split(mac1, mac2, "(") #)
 
6681
  macro = mac2[1]
 
6682
  prefix = substr(line, 1, index(line, defundef) - 1)
 
6683
  if (D_is_set[macro]) {
 
6684
    # Preserve the white space surrounding the "#".
 
6685
    print prefix "define", macro P[macro] D[macro]
 
6686
    next
 
6687
  } else {
 
6688
    # Replace #undef with comments.  This is necessary, for example,
 
6689
    # in the case of _POSIX_SOURCE, which is predefined and required
 
6690
    # on some systems where configure will not decide to define it.
 
6691
    if (defundef == "undef") {
 
6692
      print "/*", prefix defundef, macro, "*/"
 
6693
      next
 
6694
    }
 
6695
  }
 
6696
}
 
6697
{ print }
 
6698
_ACAWK
 
6699
_ACEOF
 
6700
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6701
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
6702
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
6703
   { (exit 1); exit 1; }; }
 
6704
fi # test -n "$CONFIG_HEADERS"
 
6705
 
 
6706
 
 
6707
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
6708
shift
 
6709
for ac_tag
6425
6710
do
6426
6711
  case $ac_tag in
6427
6712
  :[FHLC]) ac_mode=$ac_tag; continue;;
6428
6713
  esac
6429
6714
  case $ac_mode$ac_tag in
6430
6715
  :[FHL]*:*);;
6431
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6432
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
6716
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
6717
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6433
6718
   { (exit 1); exit 1; }; };;
6434
6719
  :[FH]-) ac_tag=-:-;;
6435
6720
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6458
6743
           [\\/$]*) false;;
6459
6744
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6460
6745
           esac ||
6461
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6462
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
6746
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
6747
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6463
6748
   { (exit 1); exit 1; }; };;
6464
6749
      esac
6465
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
6750
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
6751
      ac_file_inputs="$ac_file_inputs '$ac_f'"
6466
6752
    done
6467
6753
 
6468
6754
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6469
6755
    # use $as_me), people would be surprised to read:
6470
6756
    #    /* config.h.  Generated by config.status.  */
6471
 
    configure_input="Generated from "`IFS=:
6472
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
6757
    configure_input='Generated from '`
 
6758
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
6759
        `' by configure.'
6473
6760
    if test x"$ac_file" != x-; then
6474
6761
      configure_input="$ac_file.  $configure_input"
6475
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
6476
 
echo "$as_me: creating $ac_file" >&6;}
 
6762
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
6763
$as_echo "$as_me: creating $ac_file" >&6;}
6477
6764
    fi
 
6765
    # Neutralize special characters interpreted by sed in replacement strings.
 
6766
    case $configure_input in #(
 
6767
    *\&* | *\|* | *\\* )
 
6768
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
6769
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
6770
    *) ac_sed_conf_input=$configure_input;;
 
6771
    esac
6478
6772
 
6479
6773
    case $ac_tag in
6480
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
6774
    *:-:* | *:-) cat >"$tmp/stdin" \
 
6775
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6776
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6777
   { (exit 1); exit 1; }; } ;;
6481
6778
    esac
6482
6779
    ;;
6483
6780
  esac
6487
6784
         X"$ac_file" : 'X\(//\)[^/]' \| \
6488
6785
         X"$ac_file" : 'X\(//\)$' \| \
6489
6786
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6490
 
echo X"$ac_file" |
 
6787
$as_echo X"$ac_file" |
6491
6788
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6492
6789
            s//\1/
6493
6790
            q
6513
6810
    as_dirs=
6514
6811
    while :; do
6515
6812
      case $as_dir in #(
6516
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
6813
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6517
6814
      *) as_qdir=$as_dir;;
6518
6815
      esac
6519
6816
      as_dirs="'$as_qdir' $as_dirs"
6522
6819
         X"$as_dir" : 'X\(//\)[^/]' \| \
6523
6820
         X"$as_dir" : 'X\(//\)$' \| \
6524
6821
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6525
 
echo X"$as_dir" |
 
6822
$as_echo X"$as_dir" |
6526
6823
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6527
6824
            s//\1/
6528
6825
            q
6543
6840
      test -d "$as_dir" && break
6544
6841
    done
6545
6842
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6546
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6547
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
6843
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
6844
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6548
6845
   { (exit 1); exit 1; }; }; }
6549
6846
  ac_builddir=.
6550
6847
 
6551
6848
case "$ac_dir" in
6552
6849
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6553
6850
*)
6554
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
6851
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6555
6852
  # A ".." for each directory in $ac_dir_suffix.
6556
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
6853
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6557
6854
  case $ac_top_builddir_sub in
6558
6855
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6559
6856
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6598
6895
  esac
6599
6896
_ACEOF
6600
6897
 
6601
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6898
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6602
6899
# If the template does not know about datarootdir, expand it.
6603
6900
# FIXME: This hack should be removed a few years after 2.60.
6604
6901
ac_datarootdir_hack=; ac_datarootdir_seen=
6605
6902
 
6606
 
case `sed -n '/datarootdir/ {
 
6903
ac_sed_dataroot='
 
6904
/datarootdir/ {
6607
6905
  p
6608
6906
  q
6609
6907
}
6612
6910
/@infodir@/p
6613
6911
/@localedir@/p
6614
6912
/@mandir@/p
6615
 
' $ac_file_inputs` in
 
6913
'
 
6914
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6616
6915
*datarootdir*) ac_datarootdir_seen=yes;;
6617
6916
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6618
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6619
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6917
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6918
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6620
6919
_ACEOF
6621
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6920
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6622
6921
  ac_datarootdir_hack='
6623
6922
  s&@datadir@&$datadir&g
6624
6923
  s&@docdir@&$docdir&g
6632
6931
# Neutralize VPATH when `$srcdir' = `.'.
6633
6932
# Shell code in configure.ac might set extrasub.
6634
6933
# FIXME: do we really want to maintain this feature?
6635
 
cat >>$CONFIG_STATUS <<_ACEOF
6636
 
  sed "$ac_vpsub
 
6934
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6935
ac_sed_extra="$ac_vpsub
6637
6936
$extrasub
6638
6937
_ACEOF
6639
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6938
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6640
6939
:t
6641
6940
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6642
 
s&@configure_input@&$configure_input&;t t
 
6941
s|@configure_input@|$ac_sed_conf_input|;t t
6643
6942
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6943
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6644
6944
s&@srcdir@&$ac_srcdir&;t t
6645
6945
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6646
6946
s&@top_srcdir@&$ac_top_srcdir&;t t
6651
6951
s&@INSTALL@&$ac_INSTALL&;t t
6652
6952
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6653
6953
$ac_datarootdir_hack
6654
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
6954
"
 
6955
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
6956
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6957
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6958
   { (exit 1); exit 1; }; }
6655
6959
 
6656
6960
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6657
6961
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6658
6962
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6659
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6963
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6660
6964
which seems to be undefined.  Please make sure it is defined." >&5
6661
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6965
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6662
6966
which seems to be undefined.  Please make sure it is defined." >&2;}
6663
6967
 
6664
6968
  rm -f "$tmp/stdin"
6665
6969
  case $ac_file in
6666
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
6667
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6668
 
  esac
 
6970
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
6971
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6972
  esac \
 
6973
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6974
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6975
   { (exit 1); exit 1; }; }
6669
6976
 ;;
6670
6977
  :H)
6671
6978
  #
6672
6979
  # CONFIG_HEADER
6673
6980
  #
6674
 
_ACEOF
6675
 
 
6676
 
# Transform confdefs.h into a sed script `conftest.defines', that
6677
 
# substitutes the proper values into config.h.in to produce config.h.
6678
 
rm -f conftest.defines conftest.tail
6679
 
# First, append a space to every undef/define line, to ease matching.
6680
 
echo 's/$/ /' >conftest.defines
6681
 
# Then, protect against being on the right side of a sed subst, or in
6682
 
# an unquoted here document, in config.status.  If some macros were
6683
 
# called several times there might be several #defines for the same
6684
 
# symbol, which is useless.  But do not sort them, since the last
6685
 
# AC_DEFINE must be honored.
6686
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6687
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6688
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6689
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
6690
 
# just an empty string.
6691
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
6692
 
ac_dB='\\)[      (].*,\\1define\\2'
6693
 
ac_dC=' '
6694
 
ac_dD=' ,'
6695
 
 
6696
 
uniq confdefs.h |
6697
 
  sed -n '
6698
 
        t rset
6699
 
        :rset
6700
 
        s/^[     ]*#[    ]*define[       ][      ]*//
6701
 
        t ok
6702
 
        d
6703
 
        :ok
6704
 
        s/[\\&,]/\\&/g
6705
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6706
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6707
 
  ' >>conftest.defines
6708
 
 
6709
 
# Remove the space that was appended to ease matching.
6710
 
# Then replace #undef with comments.  This is necessary, for
6711
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
6712
 
# on some systems where configure will not decide to define it.
6713
 
# (The regexp can be short, since the line contains either #define or #undef.)
6714
 
echo 's/ $//
6715
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
6716
 
 
6717
 
# Break up conftest.defines:
6718
 
ac_max_sed_lines=50
6719
 
 
6720
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6721
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6722
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6723
 
# et cetera.
6724
 
ac_in='$ac_file_inputs'
6725
 
ac_out='"$tmp/out1"'
6726
 
ac_nxt='"$tmp/out2"'
6727
 
 
6728
 
while :
6729
 
do
6730
 
  # Write a here document:
6731
 
    cat >>$CONFIG_STATUS <<_ACEOF
6732
 
    # First, check the format of the line:
6733
 
    cat >"\$tmp/defines.sed" <<\\CEOF
6734
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6735
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6736
 
b
6737
 
:def
6738
 
_ACEOF
6739
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6740
 
  echo 'CEOF
6741
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6742
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6743
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6744
 
  grep . conftest.tail >/dev/null || break
6745
 
  rm -f conftest.defines
6746
 
  mv conftest.tail conftest.defines
6747
 
done
6748
 
rm -f conftest.defines conftest.tail
6749
 
 
6750
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6751
 
cat >>$CONFIG_STATUS <<\_ACEOF
6752
6981
  if test x"$ac_file" != x-; then
6753
 
    echo "/* $configure_input  */" >"$tmp/config.h"
6754
 
    cat "$ac_result" >>"$tmp/config.h"
6755
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6756
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6757
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
6982
    {
 
6983
      $as_echo "/* $configure_input  */" \
 
6984
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
6985
    } >"$tmp/config.h" \
 
6986
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6987
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6988
   { (exit 1); exit 1; }; }
 
6989
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
6990
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6991
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6758
6992
    else
6759
 
      rm -f $ac_file
6760
 
      mv "$tmp/config.h" $ac_file
 
6993
      rm -f "$ac_file"
 
6994
      mv "$tmp/config.h" "$ac_file" \
 
6995
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6996
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6997
   { (exit 1); exit 1; }; }
6761
6998
    fi
6762
6999
  else
6763
 
    echo "/* $configure_input  */"
6764
 
    cat "$ac_result"
 
7000
    $as_echo "/* $configure_input  */" \
 
7001
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
7002
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
7003
$as_echo "$as_me: error: could not create -" >&2;}
 
7004
   { (exit 1); exit 1; }; }
6765
7005
  fi
6766
 
  rm -f "$tmp/out12"
6767
 
# Compute $ac_file's index in $config_headers.
6768
 
_am_arg=$ac_file
 
7006
# Compute "$ac_file"'s index in $config_headers.
 
7007
_am_arg="$ac_file"
6769
7008
_am_stamp_count=1
6770
7009
for _am_header in $config_headers :; do
6771
7010
  case $_am_header in
6780
7019
         X"$_am_arg" : 'X\(//\)[^/]' \| \
6781
7020
         X"$_am_arg" : 'X\(//\)$' \| \
6782
7021
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6783
 
echo X"$_am_arg" |
 
7022
$as_echo X"$_am_arg" |
6784
7023
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6785
7024
            s//\1/
6786
7025
            q
6800
7039
          s/.*/./; q'`/stamp-h$_am_stamp_count
6801
7040
 ;;
6802
7041
 
6803
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6804
 
echo "$as_me: executing $ac_file commands" >&6;}
 
7042
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7043
$as_echo "$as_me: executing $ac_file commands" >&6;}
6805
7044
 ;;
6806
7045
  esac
6807
7046
 
6808
7047
 
6809
7048
  case $ac_file$ac_mode in
6810
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6811
 
  # Strip MF so we end up with the name of the file.
6812
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6813
 
  # Check whether this is an Automake generated Makefile or not.
6814
 
  # We used to match only the files named `Makefile.in', but
6815
 
  # some people rename them; so instead we look at the file content.
6816
 
  # Grep'ing the first line is not enough: some people post-process
6817
 
  # each Makefile.in and add a new line on top of each file to say so.
6818
 
  # Grep'ing the whole file is not good either: AIX grep has a line
6819
 
  # limit of 2048, but all sed's we know have understand at least 4000.
6820
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6821
 
    dirpart=`$as_dirname -- "$mf" ||
 
7049
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
7050
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
7051
  # are listed without --file.  Let's play safe and only enable the eval
 
7052
  # if we detect the quoting.
 
7053
  case $CONFIG_FILES in
 
7054
  *\'*) eval set x "$CONFIG_FILES" ;;
 
7055
  *)   set x $CONFIG_FILES ;;
 
7056
  esac
 
7057
  shift
 
7058
  for mf
 
7059
  do
 
7060
    # Strip MF so we end up with the name of the file.
 
7061
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
7062
    # Check whether this is an Automake generated Makefile or not.
 
7063
    # We used to match only the files named `Makefile.in', but
 
7064
    # some people rename them; so instead we look at the file content.
 
7065
    # Grep'ing the first line is not enough: some people post-process
 
7066
    # each Makefile.in and add a new line on top of each file to say so.
 
7067
    # Grep'ing the whole file is not good either: AIX grep has a line
 
7068
    # limit of 2048, but all sed's we know have understand at least 4000.
 
7069
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
7070
      dirpart=`$as_dirname -- "$mf" ||
6822
7071
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6823
7072
         X"$mf" : 'X\(//\)[^/]' \| \
6824
7073
         X"$mf" : 'X\(//\)$' \| \
6825
7074
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6826
 
echo X"$mf" |
 
7075
$as_echo X"$mf" |
6827
7076
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6828
7077
            s//\1/
6829
7078
            q
6841
7090
            q
6842
7091
          }
6843
7092
          s/.*/./; q'`
6844
 
  else
6845
 
    continue
6846
 
  fi
6847
 
  # Extract the definition of DEPDIR, am__include, and am__quote
6848
 
  # from the Makefile without running `make'.
6849
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6850
 
  test -z "$DEPDIR" && continue
6851
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6852
 
  test -z "am__include" && continue
6853
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6854
 
  # When using ansi2knr, U may be empty or an underscore; expand it
6855
 
  U=`sed -n 's/^U = //p' < "$mf"`
6856
 
  # Find all dependency output files, they are included files with
6857
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6858
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
6859
 
  # expansion.
6860
 
  for file in `sed -n "
6861
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6862
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6863
 
    # Make sure the directory exists.
6864
 
    test -f "$dirpart/$file" && continue
6865
 
    fdir=`$as_dirname -- "$file" ||
 
7093
    else
 
7094
      continue
 
7095
    fi
 
7096
    # Extract the definition of DEPDIR, am__include, and am__quote
 
7097
    # from the Makefile without running `make'.
 
7098
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
7099
    test -z "$DEPDIR" && continue
 
7100
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
7101
    test -z "am__include" && continue
 
7102
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
7103
    # When using ansi2knr, U may be empty or an underscore; expand it
 
7104
    U=`sed -n 's/^U = //p' < "$mf"`
 
7105
    # Find all dependency output files, they are included files with
 
7106
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
7107
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
7108
    # expansion.
 
7109
    for file in `sed -n "
 
7110
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
7111
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
7112
      # Make sure the directory exists.
 
7113
      test -f "$dirpart/$file" && continue
 
7114
      fdir=`$as_dirname -- "$file" ||
6866
7115
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6867
7116
         X"$file" : 'X\(//\)[^/]' \| \
6868
7117
         X"$file" : 'X\(//\)$' \| \
6869
7118
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6870
 
echo X"$file" |
 
7119
$as_echo X"$file" |
6871
7120
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6872
7121
            s//\1/
6873
7122
            q
6885
7134
            q
6886
7135
          }
6887
7136
          s/.*/./; q'`
6888
 
    { as_dir=$dirpart/$fdir
 
7137
      { as_dir=$dirpart/$fdir
6889
7138
  case $as_dir in #(
6890
7139
  -*) as_dir=./$as_dir;;
6891
7140
  esac
6893
7142
    as_dirs=
6894
7143
    while :; do
6895
7144
      case $as_dir in #(
6896
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7145
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6897
7146
      *) as_qdir=$as_dir;;
6898
7147
      esac
6899
7148
      as_dirs="'$as_qdir' $as_dirs"
6902
7151
         X"$as_dir" : 'X\(//\)[^/]' \| \
6903
7152
         X"$as_dir" : 'X\(//\)$' \| \
6904
7153
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6905
 
echo X"$as_dir" |
 
7154
$as_echo X"$as_dir" |
6906
7155
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6907
7156
            s//\1/
6908
7157
            q
6923
7172
      test -d "$as_dir" && break
6924
7173
    done
6925
7174
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6926
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6927
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7175
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7176
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6928
7177
   { (exit 1); exit 1; }; }; }
6929
 
    # echo "creating $dirpart/$file"
6930
 
    echo '# dummy' > "$dirpart/$file"
 
7178
      # echo "creating $dirpart/$file"
 
7179
      echo '# dummy' > "$dirpart/$file"
 
7180
    done
6931
7181
  done
6932
 
done
 
7182
}
6933
7183
 ;;
6934
7184
 
6935
7185
  esac
6941
7191
chmod +x $CONFIG_STATUS
6942
7192
ac_clean_files=$ac_clean_files_save
6943
7193
 
 
7194
test $ac_write_fail = 0 ||
 
7195
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
7196
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
7197
   { (exit 1); exit 1; }; }
 
7198
 
6944
7199
 
6945
7200
# configure is writing to config.log, and then calls config.status.
6946
7201
# config.status does its own redirection, appending to config.log.
6962
7217
  # would make configure fail if this is the last instruction.
6963
7218
  $ac_cs_success || { (exit 1); exit 1; }
6964
7219
fi
 
7220
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
7221
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7222
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
7223
fi
6965
7224
 
6966
7225
 
6967
7226
echo ""
6968
 
echo "Options:"
6969
 
echo "LibUSB used:     ${LIBUSB_MSG}"
 
7227
echo "Subsystem:     ${subsystem}"
6970
7228
echo ""