39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
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
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'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
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
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
55
83
# Support unset when possible.
1032
1078
ac_init_version=: ;;
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
1092
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093
ac_unrecognized_sep=', ';;
1095
eval with_$ac_useropt=\$ac_optarg ;;
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
1109
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110
ac_unrecognized_sep=', ';;
1112
eval with_$ac_useropt=no ;;
1053
1115
# Obsolete; use --with-x.
1249
1327
For better control, use the options below.
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]
1666
1752
eval ac_new_val=\$ac_env_${ac_var}_value
1667
1753
case $ac_old_set,$ac_new_set in
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=: ;;
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=: ;;
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=:
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
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;}
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 ;;
1694
1789
case " $ac_configure_args " in
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; }; }
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,$//
1907
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2014
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2015
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1910
2017
# expand $ac_aux_dir to an absolute path
1911
2018
am_aux_dir=`cd $ac_aux_dir && pwd`
2223
2327
ac_config_headers="$ac_config_headers config.h"
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; }; }
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
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; }; }
2353
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2354
$as_echo "$ac_cv_build" >&6; }
2355
case $ac_cv_build in
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; }; };;
2362
ac_save_IFS=$IFS; IFS='-'
2368
# Remember, the first character of IFS is used to create $*,
2369
# except with old shells:
2372
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
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
2380
if test "x$host_alias" = x; then
2381
ac_cv_host=$ac_cv_build
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; }; }
2390
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2391
$as_echo "$ac_cv_host" >&6; }
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; }; };;
2399
ac_save_IFS=$IFS; IFS='-'
2405
# Remember, the first character of IFS is used to create $*,
2406
# except with old shells:
2409
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2226
2413
# Checks for programs.
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; }; }; }
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
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;;
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
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;;
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
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;;
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
2570
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571
2756
(exit $ac_status); }
2573
2758
cat >conftest.$ac_ext <<_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
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[^ ]*//'`
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'
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[^ ]*//'`
2782
# The possible output files:
2783
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2606
2786
for ac_file in $ac_files
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";;
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
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; }; }; }
2674
2857
ac_exeext=$ac_cv_exeext
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;;
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
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
2695
2879
if test "$cross_compiling" = maybe; then
2696
2880
cross_compiling=yes
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; }; }; }
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; }
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; }
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;;
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
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" : '[^.]*\(\..*\)'`
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; }; }; }
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; }
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
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;;
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
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" : '.*\.\(.*\)'`
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
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; }; }; }
2810
3002
rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
2821
3013
cat >conftest.$ac_ext <<_ACEOF
2822
3014
/* confdefs.h. */
3520
3740
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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; }; } ;;
3758
# Determine subsystem
3759
if test x$force_libusb = xtrue; then
3763
linux*) subsystem=sg ;;
3764
mingw32) subsystem=spt ;;
3765
*) subsystem=libusb ;;
3772
if test x$subsystem = xlibusb ; then
3774
cat >>confdefs.h <<\_ACEOF
3775
#define SUBSYS_LIBUSB 1
3780
if test x$subsystem = xsg ; then
3782
cat >>confdefs.h <<\_ACEOF
3788
if test x$subsystem = xspt ; then
3790
cat >>confdefs.h <<\_ACEOF
3791
#define SUBSYS_SPT 1
3523
3797
# Checks for libraries.
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
3537
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3563
{ echo "$as_me:$LINENO: result: no" >&5
3564
echo "${ECHO_T}no" >&6; }
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
3578
case $ac_pt_PKG_CONFIG in
3580
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3606
{ echo "$as_me:$LINENO: result: no" >&5
3607
echo "${ECHO_T}no" >&6; }
3610
if test "x$ac_pt_PKG_CONFIG" = x; then
3613
case $cross_compiling:$ac_tool_warned in
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 ;;
3623
PKG_CONFIG=$ac_pt_PKG_CONFIG
3626
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
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; }
3638
{ echo "$as_me:$LINENO: result: no" >&5
3639
echo "${ECHO_T}no" >&6; }
3646
{ echo "$as_me:$LINENO: checking for LIBUSB" >&5
3647
echo $ECHO_N "checking for LIBUSB... $ECHO_C" >&6; }
3649
if test -n "$PKG_CONFIG"; then
3650
if test -n "$LIBUSB_CFLAGS"; then
3651
pkg_cv_LIBUSB_CFLAGS="$LIBUSB_CFLAGS"
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
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`
3667
if test -n "$PKG_CONFIG"; then
3668
if test -n "$LIBUSB_LIBS"; then
3669
pkg_cv_LIBUSB_LIBS="$LIBUSB_LIBS"
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
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`
3688
if test $pkg_failed = yes; then
3690
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3691
_pkg_short_errors_supported=yes
3693
_pkg_short_errors_supported=no
3695
if test $_pkg_short_errors_supported = yes; then
3696
LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
3698
LIBUSB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
3700
# Put the nasty error message in config.log where it belongs
3701
echo "$LIBUSB_PKG_ERRORS" >&5
3703
{ echo "$as_me:$LINENO: result: no" >&5
3704
echo "${ECHO_T}no" >&6; }
3706
elif test $pkg_failed = untried; then
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; }
3717
if test x$LIBUSB_MSG = xyes; then
3719
HAVE_LIBUSB_FALSE='#'
3721
HAVE_LIBUSB_TRUE='#'
3798
#FIXME: PKG_CHECK_MODULES not provided on MinGW
3799
#AS_IF([ test x$subsystem = xlibusb ],
3800
# [ PKG_CHECK_MODULES([LIBUSB], [libusb],
3802
# [ AC_MSG_FAILURE([libusb is required but not found.]) ])
3726
3805
# Checks for header files.
3956
4041
ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
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
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
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
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
3985
4065
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3988
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4068
$as_echo_n 0123456789 >"conftest.in"
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;;
4010
$ac_path_GREP_found && break 3
4089
$ac_path_GREP_found && break 3
4015
4093
IFS=$as_save_IFS
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; }; }
4028
4100
ac_cv_path_GREP=$GREP
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"
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
4043
4114
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4044
4115
then ac_cv_path_EGREP="$GREP -E"
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
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
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
4067
4133
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4070
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4136
$as_echo_n 0123456789 >"conftest.in"
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;;
4092
$ac_path_EGREP_found && break 3
4157
$ac_path_EGREP_found && break 3
4097
4161
IFS=$as_save_IFS
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; }; }
4110
4168
ac_cv_path_EGREP=$EGREP
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"
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
4126
4183
cat >conftest.$ac_ext <<_ACEOF
4127
4184
/* confdefs.h. */
4253
4311
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254
4312
*) ac_try_echo=$ac_try;;
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
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;;
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
4268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
4329
(exit $ac_status); }; }; then
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
4276
4336
( exit $ac_status )
4277
4337
ac_cv_header_stdc=no
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
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
4289
4350
cat >>confdefs.h <<\_ACEOF
4372
4437
for ac_header in arpa/inet.h fcntl.h stdint.h stdlib.h string.h sys/ioctl.h termios.h unistd.h
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
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; }
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. */
4400
4466
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401
4467
*) ac_try_echo=$ac_try;;
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
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
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
4419
4486
ac_header_compiler=no
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; }
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. */
4439
4506
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440
4507
*) ac_try_echo=$ac_try;;
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
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
4453
4521
ac_header_preproc=yes
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
4458
4526
ac_header_preproc=no
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; }
4465
4533
# So? What about this header?
4466
4534
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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 ##
4612
4684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4618
4690
cat >>confdefs.h <<\_ACEOF
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
4701
ac_cv_type_size_t=no
4702
cat >conftest.$ac_ext <<_ACEOF
4705
cat confdefs.h >>conftest.$ac_ext
4706
cat >>conftest.$ac_ext <<_ACEOF
4707
/* end confdefs.h. */
4708
$ac_includes_default
4712
if (sizeof (size_t))
4718
rm -f conftest.$ac_objext
4719
if { (ac_try="$ac_compile"
4721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722
*) ac_try_echo=$ac_try;;
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
4728
grep -v '^ *+' conftest.er1 >conftest.err
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. */
4651
4755
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652
4756
*) ac_try_echo=$ac_try;;
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
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
4667
echo "$as_me: failed program was:" >&5
4668
sed 's/^/| /' conftest.$ac_ext >&5
4670
ac_cv_type_size_t=no
4673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4772
$as_echo "$as_me: failed program was:" >&5
4773
sed 's/^/| /' conftest.$ac_ext >&5
4775
ac_cv_type_size_t=yes
4778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780
$as_echo "$as_me: failed program was:" >&5
4781
sed 's/^/| /' conftest.$ac_ext >&5
4786
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
5040
5157
for ac_header in stdlib.h
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
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; }
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. */
5068
5186
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069
5187
*) ac_try_echo=$ac_try;;
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
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
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
5087
5206
ac_header_compiler=no
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; }
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. */
5107
5226
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108
5227
*) ac_try_echo=$ac_try;;
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
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
5121
5241
ac_header_preproc=yes
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
5126
5246
ac_header_preproc=no
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; }
5133
5253
# So? What about this header?
5134
5254
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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
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
5168
5288
eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
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
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;;
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
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;;
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
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
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
5238
5363
( exit $ac_status )
5239
5364
ac_cv_func_malloc_0_nonnull=no
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
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
5250
5376
cat >>confdefs.h <<\_ACEOF
5324
5450
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325
5451
*) ac_try_echo=$ac_try;;
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
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;;
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
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
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
5347
5475
( exit $ac_status )
5348
5476
ac_cv_func_memcmp_working=no
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
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"
5481
5613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5482
5614
*) ac_try_echo=$ac_try;;
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
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;;
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
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
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
5504
5638
( exit $ac_status )
5505
5639
ac_cv_func_stat_empty_string_bug=yes
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
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 "* ) ;;
5589
5724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590
5725
*) ac_try_echo=$ac_try;;
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
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
5604
5742
eval "$as_ac_var=yes"
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
5609
5747
eval "$as_ac_var=no"
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
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
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; }; }
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; }; }
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; }; }
5747
5883
: ${CONFIG_STATUS=./config.status}
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
5754
5891
# Generated by $as_me.
5755
5892
# Run this file to recreate the current configuration.
5794
5931
as_cr_digits='0123456789'
5795
5932
as_cr_alnum=$as_cr_Letters$as_cr_digits
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'
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'
5949
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5950
as_echo_n_body='eval
5954
expr "X$arg" : "X\\(.*\\)$as_nl";
5955
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5957
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5959
export as_echo_n_body
5960
as_echo_n='sh -c $as_echo_n_body as_echo'
5963
as_echo='sh -c $as_echo_body as_echo'
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
5802
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5969
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5970
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5810
5975
# Support unset when possible.
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 )
6140
6309
--file | --fil | --fi | --f )
6142
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6312
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6314
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6143
6315
ac_need_defaults=false;;
6144
6316
--header | --heade | --head | --hea )
6146
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6319
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6321
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6147
6322
ac_need_defaults=false;;
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=: ;;
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; }; } ;;
6258
6435
(umask 077 && mkdir "$tmp")
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; }
6266
# Set up the sed scripts for CONFIG_FILES section.
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
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
6456
echo 'BEGIN {' >"$tmp/subs1.awk" &&
6461
echo "cat >conf$$subs.awk <<_ACEOF" &&
6462
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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
6310
ECHO_C!$ECHO_C$ac_delim
6311
ECHO_N!$ECHO_N$ac_delim
6312
ECHO_T!$ECHO_T$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
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
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
6362
EGREP!$EGREP$ac_delim
6363
LIBOBJS!$LIBOBJS$ac_delim
6364
LTLIBOBJS!$LTLIBOBJS$ac_delim
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; }; }
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
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; }; }
6374
6484
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
6389
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6390
s/^/s,@/; s/!/@,|#_!!_#|/
6393
s/'"$ac_delim"'$/,g/; t
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
6489
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6490
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6494
s/^/S["/; s/!.*/"]=/
6504
s/\(.\{148\}\).*/\1/
6506
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6511
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6518
s/\(.\{148\}\).*/\1/
6520
s/["\\]/\\&/g; s/^/"/; s/$/"/
6524
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6529
' <conf$$subs.awk | sed '
6534
' >>$CONFIG_STATUS || ac_write_fail=1
6535
rm -f conf$$subs.awk
6536
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6538
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6539
for (key in S) S_is_set[key] = 1
6545
nfields = split(line, field, "@")
6547
len = length(field[1])
6548
for (i = 2; i < nfields; i++) {
6550
keylen = length(key)
6551
if (S_is_set[key]) {
6553
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6554
len += length(value) + length(field[++i])
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"
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; }; }
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
6420
cat >>$CONFIG_STATUS <<\_ACEOF
6591
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6421
6592
fi # test -n "$CONFIG_FILES"
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 ||
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.
6606
# Create a delimiter string that does not exist in confdefs.h, to ease
6607
# handling of long lines.
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
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; }; }
6618
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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.
6626
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6628
s/.\{148\}/&'"$ac_delim"'/g
6631
s/^[ ]*#[ ]*define[ ][ ]*/ /
6638
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6640
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6644
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6645
D["\1"]=" \3\\\\\\n"\\/p
6647
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6652
s/.\{148\}/&'"$ac_delim"'/g
6657
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6660
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6662
' <confdefs.h | sed '
6663
s/'"$ac_delim"'/"\\\
6664
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6666
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6667
for (key in D) D_is_set[key] = 1
6670
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6672
split(line, arg, " ")
6673
if (arg[1] == "#") {
6677
defundef = substr(arg[1], 2)
6680
split(mac1, mac2, "(") #)
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]
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, "*/"
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"
6707
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6426
6711
case $ac_tag in
6427
6712
:[FHLC]) ac_mode=$ac_tag; continue;;
6429
6714
case $ac_mode$ac_tag in
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";;
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; }; };;
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'"
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'
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;}
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;;
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; }; } ;;
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
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; }; }
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;}
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;;
6970
-) cat "$tmp/out" && rm -f "$tmp/out";;
6971
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
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; }; }
6672
6979
# CONFIG_HEADER
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'
6700
s/^[ ]*#[ ]*define[ ][ ]*//
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
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.)
6715
s,^[ #]*u.*,/* & */,' >>conftest.defines
6717
# Break up conftest.defines:
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"
6724
ac_in='$ac_file_inputs'
6725
ac_out='"$tmp/out1"'
6726
ac_nxt='"$tmp/out2"'
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
6739
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
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
6748
rm -f conftest.defines conftest.tail
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;}
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;}
6760
mv "$tmp/config.h" $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; }; }
6763
echo "/* $configure_input */"
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; }; }
6767
# Compute $ac_file's index in $config_headers.
7006
# Compute "$ac_file"'s index in $config_headers.
6769
7008
_am_stamp_count=1
6770
7009
for _am_header in $config_headers :; do
6771
7010
case $_am_header in
6800
7039
s/.*/./; q'`/stamp-h$_am_stamp_count
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;}
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 ;;
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 ||
6827
7076
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
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
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" ||
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
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 ||
6871
7120
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{