~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-05-17 23:59:10 UTC
  • mto: (17.3.55 sid)
  • mto: This revision was merged to the branch mainline in revision 122.
  • Revision ID: james.westby@ubuntu.com-20110517235910-ma8u889vyjdfro27
Tags: upstream-1.99
ImportĀ upstreamĀ versionĀ 1.99

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
@%:@! /bin/sh
2
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.67 for GRUB 1.99~rc1.
 
3
@%:@ Generated by GNU Autoconf 2.68 for GRUB 1.99.
4
4
@%:@
5
5
@%:@ Report bugs to <bug-grub@gnu.org>.
6
6
@%:@ 
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in @%:@((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216
217
  # We cannot yet assume a decent shell, so we have to provide a
217
218
        # neutralization value for shells without unset; and this also
218
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
219
221
        BASH_ENV=/dev/null
220
222
        ENV=/dev/null
221
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
224
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
225
        case $- in @%:@ ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
232
fi
225
233
 
226
234
    if test x$as_have_required = xno; then :
552
560
# Identity of this package.
553
561
PACKAGE_NAME='GRUB'
554
562
PACKAGE_TARNAME='grub'
555
 
PACKAGE_VERSION='1.99~rc1'
556
 
PACKAGE_STRING='GRUB 1.99~rc1'
 
563
PACKAGE_VERSION='1.99'
 
564
PACKAGE_STRING='GRUB 1.99'
557
565
PACKAGE_BUGREPORT='bug-grub@gnu.org'
558
566
PACKAGE_URL=''
559
567
 
679
687
LIBNVPAIR
680
688
LIBZFS
681
689
LIBLZMA
 
690
LIBGEOM
682
691
LIBDEVMAPPER
683
692
freetype_libs
684
693
freetype_cflags
1729
1738
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1730
1739
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1731
1740
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1732
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1741
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1733
1742
    ;;
1734
1743
 
1735
1744
  esac
1867
1876
  # Omit some internal or obsolete options to make the list less imposing.
1868
1877
  # This message is too long to be a string in the A/UX 3.1 sh.
1869
1878
  cat <<_ACEOF
1870
 
\`configure' configures GRUB 1.99~rc1 to adapt to many kinds of systems.
 
1879
\`configure' configures GRUB 1.99 to adapt to many kinds of systems.
1871
1880
 
1872
1881
Usage: $0 [OPTION]... [VAR=VALUE]...
1873
1882
 
1938
1947
 
1939
1948
if test -n "$ac_init_help"; then
1940
1949
  case $ac_init_help in
1941
 
     short | recursive ) echo "Configuration of GRUB 1.99~rc1:";;
 
1950
     short | recursive ) echo "Configuration of GRUB 1.99:";;
1942
1951
   esac
1943
1952
  cat <<\_ACEOF
1944
1953
 
1989
1998
  LIBS        libraries to pass to the linker, e.g. -l<library>
1990
1999
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1991
2000
              you have headers in a nonstandard directory <include dir>
1992
 
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1993
 
              the first program found out of: `bison -y', `byacc', `yacc'.
 
2001
  YACC        The `Yet Another Compiler Compiler' implementation to use.
 
2002
              Defaults to the first program found out of: `bison -y', `byacc',
 
2003
              `yacc'.
1994
2004
  YFLAGS      The list of arguments that will be passed by default to @S|@YACC.
1995
2005
              This script will default YFLAGS to the empty string to avoid a
1996
2006
              default value of `-d' given by some make applications.
2064
2074
test -n "$ac_init_help" && exit $ac_status
2065
2075
if $ac_init_version; then
2066
2076
  cat <<\_ACEOF
2067
 
GRUB configure 1.99~rc1
2068
 
generated by GNU Autoconf 2.67
 
2077
GRUB configure 1.99
 
2078
generated by GNU Autoconf 2.68
2069
2079
 
2070
2080
Copyright (C) 2010 Free Software Foundation, Inc.
2071
2081
This configure script is free software; the Free Software Foundation
2111
2121
 
2112
2122
        ac_retval=1
2113
2123
fi
2114
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2124
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115
2125
  as_fn_set_status $ac_retval
2116
2126
 
2117
2127
} @%:@ ac_fn_c_try_compile
2157
2167
  # interfere with the next link command; also delete a directory that is
2158
2168
  # left behind by Apple's compiler.  We do this before executing the actions.
2159
2169
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2160
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2170
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161
2171
  as_fn_set_status $ac_retval
2162
2172
 
2163
2173
} @%:@ ac_fn_c_try_link
2194
2204
 
2195
2205
    ac_retval=1
2196
2206
fi
2197
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2207
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2198
2208
  as_fn_set_status $ac_retval
2199
2209
 
2200
2210
} @%:@ ac_fn_c_try_cpp
2207
2217
ac_fn_c_check_header_mongrel ()
2208
2218
{
2209
2219
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2210
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2220
  if eval \${$3+:} false; then :
2211
2221
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212
2222
$as_echo_n "checking for $2... " >&6; }
2213
 
if eval "test \"\${$3+set}\"" = set; then :
 
2223
if eval \${$3+:} false; then :
2214
2224
  $as_echo_n "(cached) " >&6
2215
2225
fi
2216
2226
eval ac_res=\$$3
2277
2287
esac
2278
2288
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2279
2289
$as_echo_n "checking for $2... " >&6; }
2280
 
if eval "test \"\${$3+set}\"" = set; then :
 
2290
if eval \${$3+:} false; then :
2281
2291
  $as_echo_n "(cached) " >&6
2282
2292
else
2283
2293
  eval "$3=\$ac_header_compiler"
2286
2296
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2287
2297
$as_echo "$ac_res" >&6; }
2288
2298
fi
2289
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2299
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2290
2300
 
2291
2301
} @%:@ ac_fn_c_check_header_mongrel
2292
2302
 
2327
2337
       ac_retval=$ac_status
2328
2338
fi
2329
2339
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2330
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2340
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2331
2341
  as_fn_set_status $ac_retval
2332
2342
 
2333
2343
} @%:@ ac_fn_c_try_run
2341
2351
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2342
2352
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2343
2353
$as_echo_n "checking for $2... " >&6; }
2344
 
if eval "test \"\${$3+set}\"" = set; then :
 
2354
if eval \${$3+:} false; then :
2345
2355
  $as_echo_n "(cached) " >&6
2346
2356
else
2347
2357
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359
2369
eval ac_res=\$$3
2360
2370
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2361
2371
$as_echo "$ac_res" >&6; }
2362
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2372
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363
2373
 
2364
2374
} @%:@ ac_fn_c_check_header_compile
2365
2375
 
2536
2546
rm -f conftest.val
2537
2547
 
2538
2548
  fi
2539
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2549
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540
2550
  as_fn_set_status $ac_retval
2541
2551
 
2542
2552
} @%:@ ac_fn_c_compute_int
2549
2559
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2550
2560
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2551
2561
$as_echo_n "checking for $2... " >&6; }
2552
 
if eval "test \"\${$3+set}\"" = set; then :
 
2562
if eval \${$3+:} false; then :
2553
2563
  $as_echo_n "(cached) " >&6
2554
2564
else
2555
2565
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2604
2614
eval ac_res=\$$3
2605
2615
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2606
2616
$as_echo "$ac_res" >&6; }
2607
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2617
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608
2618
 
2609
2619
} @%:@ ac_fn_c_check_func
2610
2620
 
2617
2627
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618
2628
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2619
2629
$as_echo_n "checking for $2.$3... " >&6; }
2620
 
if eval "test \"\${$4+set}\"" = set; then :
 
2630
if eval \${$4+:} false; then :
2621
2631
  $as_echo_n "(cached) " >&6
2622
2632
else
2623
2633
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661
2671
eval ac_res=\$$4
2662
2672
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2663
2673
$as_echo "$ac_res" >&6; }
2664
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2674
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665
2675
 
2666
2676
} @%:@ ac_fn_c_check_member
2667
2677
 
 
2678
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2679
@%:@ -------------------------------------------
 
2680
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
 
2681
@%:@ variable VAR accordingly.
 
2682
ac_fn_c_check_type ()
 
2683
{
 
2684
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2685
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2686
$as_echo_n "checking for $2... " >&6; }
 
2687
if eval \${$3+:} false; then :
 
2688
  $as_echo_n "(cached) " >&6
 
2689
else
 
2690
  eval "$3=no"
 
2691
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2692
/* end confdefs.h.  */
 
2693
$4
 
2694
int
 
2695
main (void)
 
2696
{
 
2697
if (sizeof ($2))
 
2698
         return 0;
 
2699
  ;
 
2700
  return 0;
 
2701
}
 
2702
_ACEOF
 
2703
if ac_fn_c_try_compile "$LINENO"; then :
 
2704
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2705
/* end confdefs.h.  */
 
2706
$4
 
2707
int
 
2708
main (void)
 
2709
{
 
2710
if (sizeof (($2)))
 
2711
            return 0;
 
2712
  ;
 
2713
  return 0;
 
2714
}
 
2715
_ACEOF
 
2716
if ac_fn_c_try_compile "$LINENO"; then :
 
2717
  
 
2718
else
 
2719
  eval "$3=yes"
 
2720
fi
 
2721
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2722
fi
 
2723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2724
fi
 
2725
eval ac_res=\$$3
 
2726
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2727
$as_echo "$ac_res" >&6; }
 
2728
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2729
 
 
2730
} @%:@ ac_fn_c_check_type
 
2731
 
2668
2732
@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2669
2733
@%:@ ---------------------------------------------
2670
2734
@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2676
2740
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2677
2741
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2678
2742
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2679
 
if eval "test \"\${$3+set}\"" = set; then :
 
2743
if eval \${$3+:} false; then :
2680
2744
  $as_echo_n "(cached) " >&6
2681
2745
else
2682
2746
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2707
2771
eval ac_res=\$$3
2708
2772
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709
2773
$as_echo "$ac_res" >&6; }
2710
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2774
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711
2775
 
2712
2776
} @%:@ ac_fn_c_check_decl
2713
 
 
2714
 
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2715
 
@%:@ -------------------------------------------
2716
 
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2717
 
@%:@ variable VAR accordingly.
2718
 
ac_fn_c_check_type ()
2719
 
{
2720
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722
 
$as_echo_n "checking for $2... " >&6; }
2723
 
if eval "test \"\${$3+set}\"" = set; then :
2724
 
  $as_echo_n "(cached) " >&6
2725
 
else
2726
 
  eval "$3=no"
2727
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728
 
/* end confdefs.h.  */
2729
 
$4
2730
 
int
2731
 
main (void)
2732
 
{
2733
 
if (sizeof ($2))
2734
 
         return 0;
2735
 
  ;
2736
 
  return 0;
2737
 
}
2738
 
_ACEOF
2739
 
if ac_fn_c_try_compile "$LINENO"; then :
2740
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741
 
/* end confdefs.h.  */
2742
 
$4
2743
 
int
2744
 
main (void)
2745
 
{
2746
 
if (sizeof (($2)))
2747
 
            return 0;
2748
 
  ;
2749
 
  return 0;
2750
 
}
2751
 
_ACEOF
2752
 
if ac_fn_c_try_compile "$LINENO"; then :
2753
 
  
2754
 
else
2755
 
  eval "$3=yes"
2756
 
fi
2757
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758
 
fi
2759
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760
 
fi
2761
 
eval ac_res=\$$3
2762
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763
 
$as_echo "$ac_res" >&6; }
2764
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2765
 
 
2766
 
} @%:@ ac_fn_c_check_type
2767
2777
cat >config.log <<_ACEOF
2768
2778
This file contains any messages produced by compilers while
2769
2779
running configure, to aid debugging if configure makes a mistake.
2770
2780
 
2771
 
It was created by GRUB $as_me 1.99~rc1, which was
2772
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2781
It was created by GRUB $as_me 1.99, which was
 
2782
generated by GNU Autoconf 2.68.  Invocation command line was
2773
2783
 
2774
2784
  $ $0 $@
2775
2785
 
3027
3037
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028
3038
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029
3039
as_fn_error $? "failed to load site script $ac_site_file
3030
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3040
See \`config.log' for more details" "$LINENO" 5; }
3031
3041
  fi
3032
3042
done
3033
3043
 
3148
3158
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149
3159
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3150
3160
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3151
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
 
3161
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3152
3162
fi
3153
3163
## -------------------- ##
3154
3164
## Main body of script. ##
3179
3189
  fi
3180
3190
done
3181
3191
if test -z "$ac_aux_dir"; then
3182
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 
 
3192
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
3183
3193
fi
3184
3194
 
3185
3195
# These three variables are undocumented and unsupported,
3198
3208
# Checks for host and target systems.
3199
3209
# Make sure we can run config.sub.
3200
3210
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3201
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
 
3211
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3202
3212
 
3203
3213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3204
3214
$as_echo_n "checking build system type... " >&6; }
3205
 
if test "${ac_cv_build+set}" = set; then :
 
3215
if ${ac_cv_build+:} false; then :
3206
3216
  $as_echo_n "(cached) " >&6
3207
3217
else
3208
3218
  ac_build_alias=$build_alias
3209
3219
test "x$ac_build_alias" = x &&
3210
3220
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3211
3221
test "x$ac_build_alias" = x &&
3212
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 
 
3222
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3213
3223
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3214
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
 
3224
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3215
3225
 
3216
3226
fi
3217
3227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3218
3228
$as_echo "$ac_cv_build" >&6; }
3219
3229
case $ac_cv_build in
3220
3230
*-*-*) ;;
3221
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
3231
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3222
3232
esac
3223
3233
build=$ac_cv_build
3224
3234
ac_save_IFS=$IFS; IFS='-'
3236
3246
 
3237
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3238
3248
$as_echo_n "checking host system type... " >&6; }
3239
 
if test "${ac_cv_host+set}" = set; then :
 
3249
if ${ac_cv_host+:} false; then :
3240
3250
  $as_echo_n "(cached) " >&6
3241
3251
else
3242
3252
  if test "x$host_alias" = x; then
3243
3253
  ac_cv_host=$ac_cv_build
3244
3254
else
3245
3255
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3246
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
 
3256
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3247
3257
fi
3248
3258
 
3249
3259
fi
3251
3261
$as_echo "$ac_cv_host" >&6; }
3252
3262
case $ac_cv_host in
3253
3263
*-*-*) ;;
3254
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
3264
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3255
3265
esac
3256
3266
host=$ac_cv_host
3257
3267
ac_save_IFS=$IFS; IFS='-'
3269
3279
 
3270
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3271
3281
$as_echo_n "checking target system type... " >&6; }
3272
 
if test "${ac_cv_target+set}" = set; then :
 
3282
if ${ac_cv_target+:} false; then :
3273
3283
  $as_echo_n "(cached) " >&6
3274
3284
else
3275
3285
  if test "x$target_alias" = x; then
3276
3286
  ac_cv_target=$ac_cv_host
3277
3287
else
3278
3288
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3279
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
 
3289
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3280
3290
fi
3281
3291
 
3282
3292
fi
3284
3294
$as_echo "$ac_cv_target" >&6; }
3285
3295
case $ac_cv_target in
3286
3296
*-*-*) ;;
3287
 
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 
3297
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3288
3298
esac
3289
3299
target=$ac_cv_target
3290
3300
ac_save_IFS=$IFS; IFS='-'
3326
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3327
3337
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3328
3338
if test -z "$INSTALL"; then
3329
 
if test "${ac_cv_path_install+set}" = set; then :
 
3339
if ${ac_cv_path_install+:} false; then :
3330
3340
  $as_echo_n "(cached) " >&6
3331
3341
else
3332
3342
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413
3423
'
3414
3424
case `pwd` in
3415
3425
  *[\\\"\#\$\&\'\`$am_lf]*)
3416
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3426
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3417
3427
esac
3418
3428
case $srcdir in
3419
3429
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3420
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3430
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3421
3431
esac
3422
3432
 
3423
3433
# Do `set' in a subshell so we don't clobber the current shell's
3440
3450
      # broken ls alias from the environment.  This has actually
3441
3451
      # happened.  Such a system could not be considered "sane".
3442
3452
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3443
 
alias in your environment" "$LINENO" 5 
 
3453
alias in your environment" "$LINENO" 5
3444
3454
   fi
3445
3455
 
3446
3456
   test "$2" = conftest.file
3450
3460
   :
3451
3461
else
3452
3462
   as_fn_error $? "newly created file is older than distributed files!
3453
 
Check your system clock" "$LINENO" 5 
 
3463
Check your system clock" "$LINENO" 5
3454
3464
fi
3455
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456
3466
$as_echo "yes" >&6; }
3503
3513
set dummy ${ac_tool_prefix}strip; ac_word=$2
3504
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505
3515
$as_echo_n "checking for $ac_word... " >&6; }
3506
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3516
if ${ac_cv_prog_STRIP+:} false; then :
3507
3517
  $as_echo_n "(cached) " >&6
3508
3518
else
3509
3519
  if test -n "$STRIP"; then
3543
3553
set dummy strip; ac_word=$2
3544
3554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545
3555
$as_echo_n "checking for $ac_word... " >&6; }
3546
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3556
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3547
3557
  $as_echo_n "(cached) " >&6
3548
3558
else
3549
3559
  if test -n "$ac_ct_STRIP"; then
3596
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3597
3607
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3598
3608
if test -z "$MKDIR_P"; then
3599
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3609
  if ${ac_cv_path_mkdir+:} false; then :
3600
3610
  $as_echo_n "(cached) " >&6
3601
3611
else
3602
3612
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648
3658
set dummy $ac_prog; ac_word=$2
3649
3659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650
3660
$as_echo_n "checking for $ac_word... " >&6; }
3651
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3661
if ${ac_cv_prog_AWK+:} false; then :
3652
3662
  $as_echo_n "(cached) " >&6
3653
3663
else
3654
3664
  if test -n "$AWK"; then
3688
3698
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3689
3699
set x ${MAKE-make}
3690
3700
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3691
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3701
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3692
3702
  $as_echo_n "(cached) " >&6
3693
3703
else
3694
3704
  cat >conftest.make <<\_ACEOF
3730
3740
  am__isrc=' -I$(srcdir)'
3731
3741
  # test to see if srcdir already configured
3732
3742
  if test -f $srcdir/config.status; then
3733
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 
 
3743
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3734
3744
  fi
3735
3745
fi
3736
3746
 
3746
3756
 
3747
3757
# Define the identity of the package.
3748
3758
 PACKAGE='grub'
3749
 
 VERSION='1.99~rc1'
 
3759
 VERSION='1.99'
3750
3760
 
3751
3761
 
3752
3762
cat >>confdefs.h <<_ACEOF
3843
3853
    powerpc64-*) platform=ieee1275 ;;
3844
3854
    sparc64-*) platform=ieee1275 ;;
3845
3855
    mips-*) platform=yeeloong ;;
3846
 
    *) as_fn_error $? "unsupported CPU: \"$target_cpu\"" "$LINENO" 5  ;;
 
3856
    *) as_fn_error $? "unsupported CPU: \"$target_cpu\"" "$LINENO" 5 ;;
3847
3857
  esac
3848
3858
else
3849
3859
  platform="$with_platform"
3871
3881
  mips-qemu-mips) ;;
3872
3882
  mips-yeeloong) ;;
3873
3883
  *-emu) ;;
3874
 
  *) as_fn_error $? "platform \"$platform\" is not supported for target CPU \"$target_cpu\"" "$LINENO" 5  ;;
 
3884
  *) as_fn_error $? "platform \"$platform\" is not supported for target CPU \"$target_cpu\"" "$LINENO" 5 ;;
3875
3885
esac
3876
3886
 
3877
3887
case "$target_cpu" in
3956
3966
set dummy $ac_prog; ac_word=$2
3957
3967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958
3968
$as_echo_n "checking for $ac_word... " >&6; }
3959
 
if test "${ac_cv_prog_CMP+set}" = set; then :
 
3969
if ${ac_cv_prog_CMP+:} false; then :
3960
3970
  $as_echo_n "(cached) " >&6
3961
3971
else
3962
3972
  if test -n "$CMP"; then
3993
4003
done
3994
4004
 
3995
4005
if test "x$CMP" = x; then
3996
 
  as_fn_error $? "cmp is not found" "$LINENO" 5 
 
4006
  as_fn_error $? "cmp is not found" "$LINENO" 5
3997
4007
fi
3998
4008
 
3999
4009
for ac_prog in bison
4002
4012
set dummy $ac_prog; ac_word=$2
4003
4013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004
4014
$as_echo_n "checking for $ac_word... " >&6; }
4005
 
if test "${ac_cv_prog_YACC+set}" = set; then :
 
4015
if ${ac_cv_prog_YACC+:} false; then :
4006
4016
  $as_echo_n "(cached) " >&6
4007
4017
else
4008
4018
  if test -n "$YACC"; then
4039
4049
done
4040
4050
 
4041
4051
if test "x$YACC" = x; then
4042
 
  as_fn_error $? "bison is not found" "$LINENO" 5 
 
4052
  as_fn_error $? "bison is not found" "$LINENO" 5
4043
4053
fi
4044
4054
 
4045
4055
FONT_SOURCE=
4054
4064
done
4055
4065
 
4056
4066
if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then
4057
 
   as_fn_error $? "qemu and yeeloong ports need unifont" "$LINENO" 5 
 
4067
   as_fn_error $? "qemu and yeeloong ports need unifont" "$LINENO" 5
4058
4068
fi
4059
4069
 
4060
4070
 
4064
4074
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4065
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066
4076
$as_echo_n "checking for $ac_word... " >&6; }
4067
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
4077
if ${ac_cv_prog_RANLIB+:} false; then :
4068
4078
  $as_echo_n "(cached) " >&6
4069
4079
else
4070
4080
  if test -n "$RANLIB"; then
4104
4114
set dummy ranlib; ac_word=$2
4105
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106
4116
$as_echo_n "checking for $ac_word... " >&6; }
4107
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4117
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4108
4118
  $as_echo_n "(cached) " >&6
4109
4119
else
4110
4120
  if test -n "$ac_ct_RANLIB"; then
4158
4168
set dummy $ac_prog; ac_word=$2
4159
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160
4170
$as_echo_n "checking for $ac_word... " >&6; }
4161
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
4171
if ${ac_cv_prog_AWK+:} false; then :
4162
4172
  $as_echo_n "(cached) " >&6
4163
4173
else
4164
4174
  if test -n "$AWK"; then
4266
4276
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4267
4277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268
4278
$as_echo_n "checking for $ac_word... " >&6; }
4269
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4279
if ${ac_cv_prog_CC+:} false; then :
4270
4280
  $as_echo_n "(cached) " >&6
4271
4281
else
4272
4282
  if test -n "$CC"; then
4306
4316
set dummy gcc; ac_word=$2
4307
4317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308
4318
$as_echo_n "checking for $ac_word... " >&6; }
4309
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4319
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4310
4320
  $as_echo_n "(cached) " >&6
4311
4321
else
4312
4322
  if test -n "$ac_ct_CC"; then
4359
4369
set dummy ${ac_tool_prefix}cc; ac_word=$2
4360
4370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361
4371
$as_echo_n "checking for $ac_word... " >&6; }
4362
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4372
if ${ac_cv_prog_CC+:} false; then :
4363
4373
  $as_echo_n "(cached) " >&6
4364
4374
else
4365
4375
  if test -n "$CC"; then
4399
4409
set dummy cc; ac_word=$2
4400
4410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401
4411
$as_echo_n "checking for $ac_word... " >&6; }
4402
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4412
if ${ac_cv_prog_CC+:} false; then :
4403
4413
  $as_echo_n "(cached) " >&6
4404
4414
else
4405
4415
  if test -n "$CC"; then
4458
4468
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4459
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4460
4470
$as_echo_n "checking for $ac_word... " >&6; }
4461
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4471
if ${ac_cv_prog_CC+:} false; then :
4462
4472
  $as_echo_n "(cached) " >&6
4463
4473
else
4464
4474
  if test -n "$CC"; then
4502
4512
set dummy $ac_prog; ac_word=$2
4503
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504
4514
$as_echo_n "checking for $ac_word... " >&6; }
4505
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4515
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4506
4516
  $as_echo_n "(cached) " >&6
4507
4517
else
4508
4518
  if test -n "$ac_ct_CC"; then
4557
4567
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4558
4568
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4559
4569
as_fn_error $? "no acceptable C compiler found in \$PATH
4560
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4570
See \`config.log' for more details" "$LINENO" 5; }
4561
4571
 
4562
4572
# Provide some information about the compiler.
4563
4573
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4672
4682
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4673
4683
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4674
4684
as_fn_error 77 "C compiler cannot create executables
4675
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4685
See \`config.log' for more details" "$LINENO" 5; }
4676
4686
else
4677
4687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4678
4688
$as_echo "yes" >&6; }
4715
4725
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716
4726
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717
4727
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4718
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4728
See \`config.log' for more details" "$LINENO" 5; }
4719
4729
fi
4720
4730
rm -f conftest conftest$ac_cv_exeext
4721
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4774
4784
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4775
4785
as_fn_error $? "cannot run C compiled programs.
4776
4786
If you meant to cross compile, use \`--host'.
4777
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4787
See \`config.log' for more details" "$LINENO" 5; }
4778
4788
    fi
4779
4789
  fi
4780
4790
fi
4785
4795
ac_clean_files=$ac_clean_files_save
4786
4796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4787
4797
$as_echo_n "checking for suffix of object files... " >&6; }
4788
 
if test "${ac_cv_objext+set}" = set; then :
 
4798
if ${ac_cv_objext+:} false; then :
4789
4799
  $as_echo_n "(cached) " >&6
4790
4800
else
4791
4801
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826
4836
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4827
4837
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4828
4838
as_fn_error $? "cannot compute suffix of object files: cannot compile
4829
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4839
See \`config.log' for more details" "$LINENO" 5; }
4830
4840
fi
4831
4841
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4832
4842
fi
4836
4846
ac_objext=$OBJEXT
4837
4847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4838
4848
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4839
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4849
if ${ac_cv_c_compiler_gnu+:} false; then :
4840
4850
  $as_echo_n "(cached) " >&6
4841
4851
else
4842
4852
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873
4883
ac_save_CFLAGS=$CFLAGS
4874
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4875
4885
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4876
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4886
if ${ac_cv_prog_cc_g+:} false; then :
4877
4887
  $as_echo_n "(cached) " >&6
4878
4888
else
4879
4889
  ac_save_c_werror_flag=$ac_c_werror_flag
4951
4961
fi
4952
4962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4953
4963
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4954
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4964
if ${ac_cv_prog_cc_c89+:} false; then :
4955
4965
  $as_echo_n "(cached) " >&6
4956
4966
else
4957
4967
  ac_cv_prog_cc_c89=no
5050
5060
 
5051
5061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5052
5062
$as_echo_n "checking dependency style of $depcc... " >&6; }
5053
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
5063
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5054
5064
  $as_echo_n "(cached) " >&6
5055
5065
else
5056
5066
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5180
5190
set dummy $ac_prog; ac_word=$2
5181
5191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182
5192
$as_echo_n "checking for $ac_word... " >&6; }
5183
 
if test "${ac_cv_prog_LEX+set}" = set; then :
 
5193
if ${ac_cv_prog_LEX+:} false; then :
5184
5194
  $as_echo_n "(cached) " >&6
5185
5195
else
5186
5196
  if test -n "$LEX"; then
5250
5260
  test $ac_status = 0; }
5251
5261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5252
5262
$as_echo_n "checking lex output file root... " >&6; }
5253
 
if test "${ac_cv_prog_lex_root+set}" = set; then :
 
5263
if ${ac_cv_prog_lex_root+:} false; then :
5254
5264
  $as_echo_n "(cached) " >&6
5255
5265
else
5256
5266
  
5259
5269
elif test -f lexyy.c; then
5260
5270
  ac_cv_prog_lex_root=lexyy
5261
5271
else
5262
 
  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 
 
5272
  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5263
5273
fi
5264
5274
fi
5265
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5269
5279
if test -z "${LEXLIB+set}"; then
5270
5280
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5271
5281
$as_echo_n "checking lex library... " >&6; }
5272
 
if test "${ac_cv_lib_lex+set}" = set; then :
 
5282
if ${ac_cv_lib_lex+:} false; then :
5273
5283
  $as_echo_n "(cached) " >&6
5274
5284
else
5275
5285
  
5299
5309
 
5300
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5301
5311
$as_echo_n "checking whether yytext is a pointer... " >&6; }
5302
 
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
 
5312
if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5303
5313
  $as_echo_n "(cached) " >&6
5304
5314
else
5305
5315
  # POSIX says lex can declare yytext either as a pointer or an array; the
5310
5320
LIBS="$LEXLIB $ac_save_LIBS"
5311
5321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312
5322
/* end confdefs.h.  */
5313
 
#define YYTEXT_POINTER 1
 
5323
 
 
5324
  #define YYTEXT_POINTER 1
5314
5325
`cat $LEX_OUTPUT_ROOT.c`
5315
5326
_ACEOF
5316
5327
if ac_fn_c_try_link "$LINENO"; then :
5337
5348
set dummy $ac_prog; ac_word=$2
5338
5349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339
5350
$as_echo_n "checking for $ac_word... " >&6; }
5340
 
if test "${ac_cv_prog_YACC+set}" = set; then :
 
5351
if ${ac_cv_prog_YACC+:} false; then :
5341
5352
  $as_echo_n "(cached) " >&6
5342
5353
else
5343
5354
  if test -n "$YACC"; then
5378
5389
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5379
5390
set x ${MAKE-make}
5380
5391
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5381
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
5392
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5382
5393
  $as_echo_n "(cached) " >&6
5383
5394
else
5384
5395
  cat >conftest.make <<\_ACEOF
5419
5430
 
5420
5431
 
5421
5432
if test "x$LEX" = "x:"; then
5422
 
  as_fn_error $? "flex is not found" "$LINENO" 5 
 
5433
  as_fn_error $? "flex is not found" "$LINENO" 5
5423
5434
else
5424
5435
  version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }'`
5425
5436
  if test -n "$version" -a "$version" -ge 20535; then
5426
5437
    :
5427
5438
  else
5428
 
    as_fn_error $? "flex is too old. GRUB requires 2.5.35 or above" "$LINENO" 5 
 
5439
    as_fn_error $? "flex is too old. GRUB requires 2.5.35 or above" "$LINENO" 5
5429
5440
  fi
5430
5441
fi
5431
5442
 
5436
5447
set dummy $ac_prog; ac_word=$2
5437
5448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438
5449
$as_echo_n "checking for $ac_word... " >&6; }
5439
 
if test "${ac_cv_path_MAKEINFO+set}" = set; then :
 
5450
if ${ac_cv_path_MAKEINFO+:} false; then :
5440
5451
  $as_echo_n "(cached) " >&6
5441
5452
else
5442
5453
  case $MAKEINFO in
5490
5501
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5491
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492
5503
$as_echo_n "checking for $ac_word... " >&6; }
5493
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
5504
if ${ac_cv_prog_CC+:} false; then :
5494
5505
  $as_echo_n "(cached) " >&6
5495
5506
else
5496
5507
  if test -n "$CC"; then
5530
5541
set dummy gcc; ac_word=$2
5531
5542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532
5543
$as_echo_n "checking for $ac_word... " >&6; }
5533
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
5544
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5534
5545
  $as_echo_n "(cached) " >&6
5535
5546
else
5536
5547
  if test -n "$ac_ct_CC"; then
5583
5594
set dummy ${ac_tool_prefix}cc; ac_word=$2
5584
5595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585
5596
$as_echo_n "checking for $ac_word... " >&6; }
5586
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
5597
if ${ac_cv_prog_CC+:} false; then :
5587
5598
  $as_echo_n "(cached) " >&6
5588
5599
else
5589
5600
  if test -n "$CC"; then
5623
5634
set dummy cc; ac_word=$2
5624
5635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625
5636
$as_echo_n "checking for $ac_word... " >&6; }
5626
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
5637
if ${ac_cv_prog_CC+:} false; then :
5627
5638
  $as_echo_n "(cached) " >&6
5628
5639
else
5629
5640
  if test -n "$CC"; then
5682
5693
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5683
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684
5695
$as_echo_n "checking for $ac_word... " >&6; }
5685
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
5696
if ${ac_cv_prog_CC+:} false; then :
5686
5697
  $as_echo_n "(cached) " >&6
5687
5698
else
5688
5699
  if test -n "$CC"; then
5726
5737
set dummy $ac_prog; ac_word=$2
5727
5738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728
5739
$as_echo_n "checking for $ac_word... " >&6; }
5729
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
5740
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5730
5741
  $as_echo_n "(cached) " >&6
5731
5742
else
5732
5743
  if test -n "$ac_ct_CC"; then
5781
5792
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5782
5793
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5783
5794
as_fn_error $? "no acceptable C compiler found in \$PATH
5784
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5795
See \`config.log' for more details" "$LINENO" 5; }
5785
5796
 
5786
5797
# Provide some information about the compiler.
5787
5798
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5810
5821
 
5811
5822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5812
5823
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5813
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
5824
if ${ac_cv_c_compiler_gnu+:} false; then :
5814
5825
  $as_echo_n "(cached) " >&6
5815
5826
else
5816
5827
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847
5858
ac_save_CFLAGS=$CFLAGS
5848
5859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5849
5860
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5850
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
5861
if ${ac_cv_prog_cc_g+:} false; then :
5851
5862
  $as_echo_n "(cached) " >&6
5852
5863
else
5853
5864
  ac_save_c_werror_flag=$ac_c_werror_flag
5925
5936
fi
5926
5937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5927
5938
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5928
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
5939
if ${ac_cv_prog_cc_c89+:} false; then :
5929
5940
  $as_echo_n "(cached) " >&6
5930
5941
else
5931
5942
  ac_cv_prog_cc_c89=no
6024
6035
 
6025
6036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6026
6037
$as_echo_n "checking dependency style of $depcc... " >&6; }
6027
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
6038
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6028
6039
  $as_echo_n "(cached) " >&6
6029
6040
else
6030
6041
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6159
6170
  CPP=
6160
6171
fi
6161
6172
if test -z "$CPP"; then
6162
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6173
  if ${ac_cv_prog_CPP+:} false; then :
6163
6174
  $as_echo_n "(cached) " >&6
6164
6175
else
6165
6176
      # Double quotes because CPP needs to be expanded
6275
6286
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6276
6287
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6277
6288
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6278
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6289
See \`config.log' for more details" "$LINENO" 5; }
6279
6290
fi
6280
6291
 
6281
6292
ac_ext=c
6287
6298
 
6288
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6289
6300
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6290
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
6301
if ${ac_cv_path_GREP+:} false; then :
6291
6302
  $as_echo_n "(cached) " >&6
6292
6303
else
6293
6304
  if test -z "$GREP"; then
6336
6347
  done
6337
6348
IFS=$as_save_IFS
6338
6349
  if test -z "$ac_cv_path_GREP"; then
6339
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
 
6350
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6340
6351
  fi
6341
6352
else
6342
6353
  ac_cv_path_GREP=$GREP
6350
6361
 
6351
6362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6352
6363
$as_echo_n "checking for egrep... " >&6; }
6353
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
6364
if ${ac_cv_path_EGREP+:} false; then :
6354
6365
  $as_echo_n "(cached) " >&6
6355
6366
else
6356
6367
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6402
6413
  done
6403
6414
IFS=$as_save_IFS
6404
6415
  if test -z "$ac_cv_path_EGREP"; then
6405
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
 
6416
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6406
6417
  fi
6407
6418
else
6408
6419
  ac_cv_path_EGREP=$EGREP
6417
6428
 
6418
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6419
6430
$as_echo_n "checking for ANSI C header files... " >&6; }
6420
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
6431
if ${ac_cv_header_stdc+:} false; then :
6421
6432
  $as_echo_n "(cached) " >&6
6422
6433
else
6423
6434
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548
6559
  
6549
6560
 
6550
6561
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
6551
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
6562
if test "x$ac_cv_header_minix_config_h" = xyes; then :
6552
6563
  MINIX=yes
6553
6564
else
6554
6565
  MINIX=
6578
6589
  
6579
6590
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6580
6591
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
6581
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
6592
if ${ac_cv_safe_to_define___extensions__+:} false; then :
6582
6593
  $as_echo_n "(cached) " >&6
6583
6594
else
6584
6595
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6700
6711
fi
6701
6712
set dummy $CC; ac_cc=`$as_echo "$2" |
6702
6713
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6703
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
6714
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6704
6715
  $as_echo_n "(cached) " >&6
6705
6716
else
6706
6717
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6828
6839
 
6829
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6830
6841
$as_echo_n "checking dependency style of $depcc... " >&6; }
6831
 
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
 
6842
if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
6832
6843
  $as_echo_n "(cached) " >&6
6833
6844
else
6834
6845
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6951
6962
 
6952
6963
 
6953
6964
# Must be GCC.
6954
 
test "x$GCC" = xyes || as_fn_error $? "GCC is required" "$LINENO" 5 
 
6965
test "x$GCC" = xyes || as_fn_error $? "GCC is required" "$LINENO" 5
6955
6966
 
6956
6967
 
6957
6968
 
7006
7017
set dummy msgfmt; ac_word=$2
7007
7018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7008
7019
$as_echo_n "checking for $ac_word... " >&6; }
7009
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
7020
if ${ac_cv_path_MSGFMT+:} false; then :
7010
7021
  $as_echo_n "(cached) " >&6
7011
7022
else
7012
7023
  case "$MSGFMT" in
7047
7058
set dummy gmsgfmt; ac_word=$2
7048
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049
7060
$as_echo_n "checking for $ac_word... " >&6; }
7050
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
7061
if ${ac_cv_path_GMSGFMT+:} false; then :
7051
7062
  $as_echo_n "(cached) " >&6
7052
7063
else
7053
7064
  case $GMSGFMT in
7128
7139
set dummy xgettext; ac_word=$2
7129
7140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130
7141
$as_echo_n "checking for $ac_word... " >&6; }
7131
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
7142
if ${ac_cv_path_XGETTEXT+:} false; then :
7132
7143
  $as_echo_n "(cached) " >&6
7133
7144
else
7134
7145
  case "$XGETTEXT" in
7205
7216
set dummy msgmerge; ac_word=$2
7206
7217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207
7218
$as_echo_n "checking for $ac_word... " >&6; }
7208
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
7219
if ${ac_cv_path_MSGMERGE+:} false; then :
7209
7220
  $as_echo_n "(cached) " >&6
7210
7221
else
7211
7222
  case "$MSGMERGE" in
7326
7337
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7327
7338
$as_echo_n "checking for non-GNU ld... " >&6; }
7328
7339
fi
7329
 
if test "${acl_cv_path_LD+set}" = set; then :
 
7340
if ${acl_cv_path_LD+:} false; then :
7330
7341
  $as_echo_n "(cached) " >&6
7331
7342
else
7332
7343
  if test -z "$LD"; then
7360
7371
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361
7372
$as_echo "no" >&6; }
7362
7373
fi
7363
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 
 
7374
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7364
7375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7365
7376
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7366
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
7377
if ${acl_cv_prog_gnu_ld+:} false; then :
7367
7378
  $as_echo_n "(cached) " >&6
7368
7379
else
7369
7380
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7383
7394
    
7384
7395
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7385
7396
$as_echo_n "checking for shared library run path origin... " >&6; }
7386
 
if test "${acl_cv_rpath+set}" = set; then :
 
7397
if ${acl_cv_rpath+:} false; then :
7387
7398
  $as_echo_n "(cached) " >&6
7388
7399
else
7389
7400
  
7421
7432
    solaris*)
7422
7433
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7423
7434
$as_echo_n "checking for 64-bit host... " >&6; }
7424
 
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
7435
if ${gl_cv_solaris_64bit+:} false; then :
7425
7436
  $as_echo_n "(cached) " >&6
7426
7437
else
7427
7438
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968
7979
    
7969
7980
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7970
7981
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7971
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
7982
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
7972
7983
  $as_echo_n "(cached) " >&6
7973
7984
else
7974
7985
  gt_save_LIBS="$LIBS"
8002
8013
  fi
8003
8014
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
8004
8015
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
8005
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
8016
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
8006
8017
  $as_echo_n "(cached) " >&6
8007
8018
else
8008
8019
  gt_save_LIBS="$LIBS"
8078
8089
 
8079
8090
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
8080
8091
$as_echo_n "checking for GNU gettext in libc... " >&6; }
8081
 
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
8092
if eval \${$gt_func_gnugettext_libc+:} false; then :
8082
8093
  $as_echo_n "(cached) " >&6
8083
8094
else
8084
8095
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145
8156
 
8146
8157
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8147
8158
$as_echo_n "checking for iconv... " >&6; }
8148
 
if test "${am_cv_func_iconv+set}" = set; then :
 
8159
if ${am_cv_func_iconv+:} false; then :
8149
8160
  $as_echo_n "(cached) " >&6
8150
8161
else
8151
8162
  
8206
8217
  if test "$am_cv_func_iconv" = yes; then
8207
8218
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8208
8219
$as_echo_n "checking for working iconv... " >&6; }
8209
 
if test "${am_cv_func_iconv_works+set}" = set; then :
 
8220
if ${am_cv_func_iconv_works+:} false; then :
8210
8221
  $as_echo_n "(cached) " >&6
8211
8222
else
8212
8223
  
8822
8833
 
8823
8834
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8824
8835
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
8825
 
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
8836
if eval \${$gt_func_gnugettext_libintl+:} false; then :
8826
8837
  $as_echo_n "(cached) " >&6
8827
8838
else
8828
8839
  gt_save_CPPFLAGS="$CPPFLAGS"
9014
9025
 
9015
9026
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9016
9027
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9017
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
9028
if ${ac_cv_sys_largefile_CC+:} false; then :
9018
9029
  $as_echo_n "(cached) " >&6
9019
9030
else
9020
9031
  ac_cv_sys_largefile_CC=no
9065
9076
 
9066
9077
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9067
9078
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
9068
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
9079
if ${ac_cv_sys_file_offset_bits+:} false; then :
9069
9080
  $as_echo_n "(cached) " >&6
9070
9081
else
9071
9082
  while :; do
9134
9145
  if test $ac_cv_sys_file_offset_bits = unknown; then
9135
9146
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
9136
9147
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
9137
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
9148
if ${ac_cv_sys_large_files+:} false; then :
9138
9149
  $as_echo_n "(cached) " >&6
9139
9150
else
9140
9151
  while :; do
9207
9218
# Identify characteristics of the host architecture.
9208
9219
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
9209
9220
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
9210
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
9221
if ${ac_cv_c_bigendian+:} false; then :
9211
9222
  $as_echo_n "(cached) " >&6
9212
9223
else
9213
9224
  ac_cv_c_bigendian=unknown
9426
9437
     ;; #(
9427
9438
   *)
9428
9439
     as_fn_error $? "unknown endianness
9429
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
9440
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
9430
9441
 esac
9431
9442
 
9432
9443
# The cast to long int works around a bug in the HP C Compiler
9435
9446
# This bug is HP SR number 8606223364.
9436
9447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
9437
9448
$as_echo_n "checking size of void *... " >&6; }
9438
 
if test "${ac_cv_sizeof_void_p+set}" = set; then :
 
9449
if ${ac_cv_sizeof_void_p+:} false; then :
9439
9450
  $as_echo_n "(cached) " >&6
9440
9451
else
9441
9452
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
9445
9456
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9446
9457
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9447
9458
as_fn_error 77 "cannot compute sizeof (void *)
9448
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
9459
See \`config.log' for more details" "$LINENO" 5; }
9449
9460
   else
9450
9461
     ac_cv_sizeof_void_p=0
9451
9462
   fi
9468
9479
# This bug is HP SR number 8606223364.
9469
9480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
9470
9481
$as_echo_n "checking size of long... " >&6; }
9471
 
if test "${ac_cv_sizeof_long+set}" = set; then :
 
9482
if ${ac_cv_sizeof_long+:} false; then :
9472
9483
  $as_echo_n "(cached) " >&6
9473
9484
else
9474
9485
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
9478
9489
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9479
9490
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9480
9491
as_fn_error 77 "cannot compute sizeof (long)
9481
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
9492
See \`config.log' for more details" "$LINENO" 5; }
9482
9493
   else
9483
9494
     ac_cv_sizeof_long=0
9484
9495
   fi
9499
9510
 
9500
9511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler is apple cc" >&5
9501
9512
$as_echo_n "checking whether our compiler is apple cc... " >&6; }
9502
 
if test "${grub_cv_apple_cc+set}" = set; then :
 
9513
if ${grub_cv_apple_cc+:} false; then :
9503
9514
  $as_echo_n "(cached) " >&6
9504
9515
else
9505
9516
  if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then
9526
9537
set dummy help2man; ac_word=$2
9527
9538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9528
9539
$as_echo_n "checking for $ac_word... " >&6; }
9529
 
if test "${ac_cv_path_HELP2MAN+set}" = set; then :
 
9540
if ${ac_cv_path_HELP2MAN+:} false; then :
9530
9541
  $as_echo_n "(cached) " >&6
9531
9542
else
9532
9543
  case $HELP2MAN in
9595
9606
#include <sys/param.h>
9596
9607
#include <sys/mount.h>
9597
9608
"
9598
 
if test "x$ac_cv_member_struct_statfs_f_fstypename" = x""yes; then :
 
9609
if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
9599
9610
  
9600
9611
cat >>confdefs.h <<_ACEOF
9601
9612
@%:@define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
9609
9620
#include <sys/param.h>
9610
9621
#include <sys/mount.h>
9611
9622
"
9612
 
if test "x$ac_cv_member_struct_statfs_f_mntfromname" = x""yes; then :
 
9623
if test "x$ac_cv_member_struct_statfs_f_mntfromname" = xyes; then :
9613
9624
  
9614
9625
cat >>confdefs.h <<_ACEOF
9615
9626
@%:@define HAVE_STRUCT_STATFS_F_MNTFROMNAME 1
9622
9633
# For opendisk() and getrawpartition() on NetBSD.
9623
9634
# Used in util/deviceiter.c and in util/hostdisk.c.
9624
9635
ac_fn_c_check_header_mongrel "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default"
9625
 
if test "x$ac_cv_header_util_h" = x""yes; then :
 
9636
if test "x$ac_cv_header_util_h" = xyes; then :
9626
9637
  
9627
9638
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendisk in -lutil" >&5
9628
9639
$as_echo_n "checking for opendisk in -lutil... " >&6; }
9629
 
if test "${ac_cv_lib_util_opendisk+set}" = set; then :
 
9640
if ${ac_cv_lib_util_opendisk+:} false; then :
9630
9641
  $as_echo_n "(cached) " >&6
9631
9642
else
9632
9643
  ac_check_lib_save_LIBS=$LIBS
9660
9671
fi
9661
9672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_opendisk" >&5
9662
9673
$as_echo "$ac_cv_lib_util_opendisk" >&6; }
9663
 
if test "x$ac_cv_lib_util_opendisk" = x""yes; then :
 
9674
if test "x$ac_cv_lib_util_opendisk" = xyes; then :
9664
9675
  
9665
9676
    LIBUTIL="-lutil"
9666
9677
    
9671
9682
 
9672
9683
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5
9673
9684
$as_echo_n "checking for getrawpartition in -lutil... " >&6; }
9674
 
if test "${ac_cv_lib_util_getrawpartition+set}" = set; then :
 
9685
if ${ac_cv_lib_util_getrawpartition+:} false; then :
9675
9686
  $as_echo_n "(cached) " >&6
9676
9687
else
9677
9688
  ac_check_lib_save_LIBS=$LIBS
9705
9716
fi
9706
9717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getrawpartition" >&5
9707
9718
$as_echo "$ac_cv_lib_util_getrawpartition" >&6; }
9708
 
if test "x$ac_cv_lib_util_getrawpartition" = x""yes; then :
 
9719
if test "x$ac_cv_lib_util_getrawpartition" = xyes; then :
9709
9720
  
9710
9721
    LIBUTIL="-lutil"
9711
9722
    
9730
9741
set dummy $ac_prog; ac_word=$2
9731
9742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9732
9743
$as_echo_n "checking for $ac_word... " >&6; }
9733
 
if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
 
9744
if ${ac_cv_prog_BUILD_CC+:} false; then :
9734
9745
  $as_echo_n "(cached) " >&6
9735
9746
else
9736
9747
  if test -n "$BUILD_CC"; then
9765
9776
 
9766
9777
  test -n "$BUILD_CC" && break
9767
9778
done
9768
 
test -n "$BUILD_CC" || BUILD_CC="as_fn_error $? "none of gcc, egcs and cc is found. set BUILD_CC manually." "$LINENO" 5 "
 
9779
test -n "$BUILD_CC" || BUILD_CC="as_fn_error $? "none of gcc, egcs and cc is found. set BUILD_CC manually." "$LINENO" 5"
9769
9780
 
9770
9781
 
9771
9782
# For gnulib.
9776
9787
          LIBC_FATAL_STDERR_=1
9777
9788
  export LIBC_FATAL_STDERR_
9778
9789
 
 
9790
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
9791
if test "x$ac_cv_type_size_t" = xyes; then :
 
9792
  
 
9793
else
 
9794
  
 
9795
cat >>confdefs.h <<_ACEOF
 
9796
@%:@define size_t unsigned int
 
9797
_ACEOF
 
9798
 
 
9799
fi
 
9800
 
9779
9801
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9780
9802
# for constant arguments.  Useless!
9781
9803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
9782
9804
$as_echo_n "checking for working alloca.h... " >&6; }
9783
 
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
9805
if ${ac_cv_working_alloca_h+:} false; then :
9784
9806
  $as_echo_n "(cached) " >&6
9785
9807
else
9786
9808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813
9835
 
9814
9836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
9815
9837
$as_echo_n "checking for alloca... " >&6; }
9816
 
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
9838
if ${ac_cv_func_alloca_works+:} false; then :
9817
9839
  $as_echo_n "(cached) " >&6
9818
9840
else
9819
9841
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832
9854
 #pragma alloca
9833
9855
#   else
9834
9856
#    ifndef alloca /* predefined by HP cc +Olibcalls */
9835
 
char *alloca ();
 
9857
void *alloca (size_t);
9836
9858
#    endif
9837
9859
#   endif
9838
9860
#  endif
9880
9902
 
9881
9903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
9882
9904
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
9883
 
if test "${ac_cv_os_cray+set}" = set; then :
 
9905
if ${ac_cv_os_cray+:} false; then :
9884
9906
  $as_echo_n "(cached) " >&6
9885
9907
else
9886
9908
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921
9943
 
9922
9944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
9923
9945
$as_echo_n "checking stack direction for C alloca... " >&6; }
9924
 
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
9946
if ${ac_cv_c_stack_direction+:} false; then :
9925
9947
  $as_echo_n "(cached) " >&6
9926
9948
else
9927
9949
  if test "$cross_compiling" = yes; then :
9971
9993
 
9972
9994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9973
9995
$as_echo_n "checking for inline... " >&6; }
9974
 
if test "${ac_cv_c_inline+set}" = set; then :
 
9996
if ${ac_cv_c_inline+:} false; then :
9975
9997
  $as_echo_n "(cached) " >&6
9976
9998
else
9977
9999
  ac_cv_c_inline=no
10013
10035
 
10014
10036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
10015
10037
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
10016
 
if test "${ac_cv_c_restrict+set}" = set; then :
 
10038
if ${ac_cv_c_restrict+:} false; then :
10017
10039
  $as_echo_n "(cached) " >&6
10018
10040
else
10019
10041
  ac_cv_c_restrict=no
10058
10080
 esac
10059
10081
 
10060
10082
ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
10061
 
if test "x$ac_cv_have_decl_getenv" = x""yes; then :
 
10083
if test "x$ac_cv_have_decl_getenv" = xyes; then :
10062
10084
  ac_have_decl=1
10063
10085
else
10064
10086
  ac_have_decl=0
10069
10091
_ACEOF
10070
10092
 
10071
10093
ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
10072
 
if test "x$ac_cv_have_decl_clearerr_unlocked" = x""yes; then :
 
10094
if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
10073
10095
  ac_have_decl=1
10074
10096
else
10075
10097
  ac_have_decl=0
10080
10102
_ACEOF
10081
10103
 
10082
10104
ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
10083
 
if test "x$ac_cv_have_decl_feof_unlocked" = x""yes; then :
 
10105
if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
10084
10106
  ac_have_decl=1
10085
10107
else
10086
10108
  ac_have_decl=0
10091
10113
_ACEOF
10092
10114
 
10093
10115
ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
10094
 
if test "x$ac_cv_have_decl_ferror_unlocked" = x""yes; then :
 
10116
if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
10095
10117
  ac_have_decl=1
10096
10118
else
10097
10119
  ac_have_decl=0
10102
10124
_ACEOF
10103
10125
 
10104
10126
ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
10105
 
if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then :
 
10127
if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
10106
10128
  ac_have_decl=1
10107
10129
else
10108
10130
  ac_have_decl=0
10113
10135
_ACEOF
10114
10136
 
10115
10137
ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
10116
 
if test "x$ac_cv_have_decl_fgets_unlocked" = x""yes; then :
 
10138
if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
10117
10139
  ac_have_decl=1
10118
10140
else
10119
10141
  ac_have_decl=0
10124
10146
_ACEOF
10125
10147
 
10126
10148
ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
10127
 
if test "x$ac_cv_have_decl_fputc_unlocked" = x""yes; then :
 
10149
if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
10128
10150
  ac_have_decl=1
10129
10151
else
10130
10152
  ac_have_decl=0
10135
10157
_ACEOF
10136
10158
 
10137
10159
ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
10138
 
if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then :
 
10160
if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
10139
10161
  ac_have_decl=1
10140
10162
else
10141
10163
  ac_have_decl=0
10146
10168
_ACEOF
10147
10169
 
10148
10170
ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
10149
 
if test "x$ac_cv_have_decl_fread_unlocked" = x""yes; then :
 
10171
if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
10150
10172
  ac_have_decl=1
10151
10173
else
10152
10174
  ac_have_decl=0
10157
10179
_ACEOF
10158
10180
 
10159
10181
ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
10160
 
if test "x$ac_cv_have_decl_fwrite_unlocked" = x""yes; then :
 
10182
if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
10161
10183
  ac_have_decl=1
10162
10184
else
10163
10185
  ac_have_decl=0
10168
10190
_ACEOF
10169
10191
 
10170
10192
ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
10171
 
if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
 
10193
if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
10172
10194
  ac_have_decl=1
10173
10195
else
10174
10196
  ac_have_decl=0
10179
10201
_ACEOF
10180
10202
 
10181
10203
ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
10182
 
if test "x$ac_cv_have_decl_getchar_unlocked" = x""yes; then :
 
10204
if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
10183
10205
  ac_have_decl=1
10184
10206
else
10185
10207
  ac_have_decl=0
10190
10212
_ACEOF
10191
10213
 
10192
10214
ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
10193
 
if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then :
 
10215
if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
10194
10216
  ac_have_decl=1
10195
10217
else
10196
10218
  ac_have_decl=0
10201
10223
_ACEOF
10202
10224
 
10203
10225
ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
10204
 
if test "x$ac_cv_have_decl_putchar_unlocked" = x""yes; then :
 
10226
if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
10205
10227
  ac_have_decl=1
10206
10228
else
10207
10229
  ac_have_decl=0
10293
10315
 
10294
10316
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
10295
10317
$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
10296
 
if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then :
 
10318
if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
10297
10319
  $as_echo_n "(cached) " >&6
10298
10320
else
10299
10321
  gl_cv_header_wchar_h_correct_inline=yes
10347
10369
    <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
10348
10370
  - Use a gcc version older than 4.3, or
10349
10371
  - Don't use the flags -std=c99 or -std=gnu99.
10350
 
Configuration aborted." "$LINENO" 5 
 
10372
Configuration aborted." "$LINENO" 5
10351
10373
  fi
10352
10374
 
10353
10375
 
10355
10377
 
10356
10378
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
10357
10379
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
10358
 
if test "${am_cv_langinfo_codeset+set}" = set; then :
 
10380
if ${am_cv_langinfo_codeset+:} false; then :
10359
10381
  $as_echo_n "(cached) " >&6
10360
10382
else
10361
10383
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391
10413
  
10392
10414
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
10393
10415
$as_echo_n "checking for a traditional french locale... " >&6; }
10394
 
if test "${gt_cv_locale_fr+set}" = set; then :
 
10416
if ${gt_cv_locale_fr+:} false; then :
10395
10417
  $as_echo_n "(cached) " >&6
10396
10418
else
10397
10419
  
10490
10512
 
10491
10513
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system is Windows or MSDOS" >&5
10492
10514
$as_echo_n "checking whether system is Windows or MSDOS... " >&6; }
10493
 
if test "${ac_cv_win_or_dos+set}" = set; then :
 
10515
if ${ac_cv_win_or_dos+:} false; then :
10494
10516
  $as_echo_n "(cached) " >&6
10495
10517
else
10496
10518
  
10524
10546
      ac_fs_backslash_is_file_name_separator=1
10525
10547
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether drive letter can start relative path" >&5
10526
10548
$as_echo_n "checking whether drive letter can start relative path... " >&6; }
10527
 
if test "${ac_cv_drive_letter_can_be_relative+set}" = set; then :
 
10549
if ${ac_cv_drive_letter_can_be_relative+:} false; then :
10528
10550
  $as_echo_n "(cached) " >&6
10529
10551
else
10530
10552
  
10587
10609
  
10588
10610
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
10589
10611
$as_echo_n "checking whether // is distinct from /... " >&6; }
10590
 
if test "${gl_cv_double_slash_root+set}" = set; then :
 
10612
if ${gl_cv_double_slash_root+:} false; then :
10591
10613
  $as_echo_n "(cached) " >&6
10592
10614
else
10593
10615
   if test x"$cross_compiling" = xyes ; then
10626
10648
  
10627
10649
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
10628
10650
$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
10629
 
if test "${gl_cv_have_include_next+set}" = set; then :
 
10651
if ${gl_cv_have_include_next+:} false; then :
10630
10652
  $as_echo_n "(cached) " >&6
10631
10653
else
10632
10654
  rm -rf conftestd1a conftestd1b conftestd2
10711
10733
  
10712
10734
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
10713
10735
$as_echo_n "checking for complete errno.h... " >&6; }
10714
 
if test "${gl_cv_header_errno_h_complete+set}" = set; then :
 
10736
if ${gl_cv_header_errno_h_complete+:} false; then :
10715
10737
  $as_echo_n "(cached) " >&6
10716
10738
else
10717
10739
  
10777
10799
     else
10778
10800
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
10779
10801
$as_echo_n "checking absolute name of <errno.h>... " >&6; }
10780
 
if test "${gl_cv_next_errno_h+set}" = set; then :
 
10802
if ${gl_cv_next_errno_h+:} false; then :
10781
10803
  $as_echo_n "(cached) " >&6
10782
10804
else
10783
10805
  
10826
10848
  if test -n "$ERRNO_H"; then
10827
10849
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
10828
10850
$as_echo_n "checking for EMULTIHOP value... " >&6; }
10829
 
if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then :
 
10851
if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
10830
10852
  $as_echo_n "(cached) " >&6
10831
10853
else
10832
10854
  
10897
10919
  if test -n "$ERRNO_H"; then
10898
10920
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
10899
10921
$as_echo_n "checking for ENOLINK value... " >&6; }
10900
 
if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then :
 
10922
if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
10901
10923
  $as_echo_n "(cached) " >&6
10902
10924
else
10903
10925
  
10968
10990
  if test -n "$ERRNO_H"; then
10969
10991
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
10970
10992
$as_echo_n "checking for EOVERFLOW value... " >&6; }
10971
 
if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then :
 
10993
if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
10972
10994
  $as_echo_n "(cached) " >&6
10973
10995
else
10974
10996
  
11037
11059
 
11038
11060
 
11039
11061
ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
11040
 
if test "x$ac_cv_have_decl_strerror_r" = x""yes; then :
 
11062
if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
11041
11063
  ac_have_decl=1
11042
11064
else
11043
11065
  ac_have_decl=0
11050
11072
for ac_func in strerror_r
11051
11073
do :
11052
11074
  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11053
 
if test "x$ac_cv_func_strerror_r" = x""yes; then :
 
11075
if test "x$ac_cv_func_strerror_r" = xyes; then :
11054
11076
  cat >>confdefs.h <<_ACEOF
11055
11077
@%:@define HAVE_STRERROR_R 1
11056
11078
_ACEOF
11060
11082
 
11061
11083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
11062
11084
$as_echo_n "checking whether strerror_r returns char *... " >&6; }
11063
 
if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
 
11085
if ${ac_cv_func_strerror_r_char_p+:} false; then :
11064
11086
  $as_echo_n "(cached) " >&6
11065
11087
else
11066
11088
  
11134
11156
    
11135
11157
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
11136
11158
$as_echo_n "checking for mbstate_t... " >&6; }
11137
 
if test "${ac_cv_type_mbstate_t+set}" = set; then :
 
11159
if ${ac_cv_type_mbstate_t+:} false; then :
11138
11160
  $as_echo_n "(cached) " >&6
11139
11161
else
11140
11162
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270
11292
  REPLACE_VSPRINTF=0;            
11271
11293
 
11272
11294
ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default"
11273
 
if test "x$ac_cv_have_decl_getdelim" = x""yes; then :
 
11295
if test "x$ac_cv_have_decl_getdelim" = xyes; then :
11274
11296
  ac_have_decl=1
11275
11297
else
11276
11298
  ac_have_decl=0
11283
11305
 
11284
11306
 
11285
11307
ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default"
11286
 
if test "x$ac_cv_have_decl_getline" = x""yes; then :
 
11308
if test "x$ac_cv_have_decl_getline" = xyes; then :
11287
11309
  ac_have_decl=1
11288
11310
else
11289
11311
  ac_have_decl=0
11413
11435
     else
11414
11436
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
11415
11437
$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
11416
 
if test "${gl_cv_next_getopt_h+set}" = set; then :
 
11438
if ${gl_cv_next_getopt_h+:} false; then :
11417
11439
  $as_echo_n "(cached) " >&6
11418
11440
else
11419
11441
  
11469
11491
    for ac_header in getopt.h
11470
11492
do :
11471
11493
  ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
11472
 
if test "x$ac_cv_header_getopt_h" = x""yes; then :
 
11494
if test "x$ac_cv_header_getopt_h" = xyes; then :
11473
11495
  cat >>confdefs.h <<_ACEOF
11474
11496
@%:@define HAVE_GETOPT_H 1
11475
11497
_ACEOF
11486
11508
    for ac_func in getopt_long_only
11487
11509
do :
11488
11510
  ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
11489
 
if test "x$ac_cv_func_getopt_long_only" = x""yes; then :
 
11511
if test "x$ac_cv_func_getopt_long_only" = xyes; then :
11490
11512
  cat >>confdefs.h <<_ACEOF
11491
11513
@%:@define HAVE_GETOPT_LONG_ONLY 1
11492
11514
_ACEOF
11501
11523
              if test -z "$gl_replace_getopt"; then
11502
11524
    ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
11503
11525
"
11504
 
if test "x$ac_cv_have_decl_optreset" = x""yes; then :
 
11526
if test "x$ac_cv_have_decl_optreset" = xyes; then :
11505
11527
  ac_have_decl=1
11506
11528
else
11507
11529
  ac_have_decl=0
11515
11537
else
11516
11538
  ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
11517
11539
"
11518
 
if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then :
 
11540
if test "x$ac_cv_have_decl_getopt_clip" = xyes; then :
11519
11541
  ac_have_decl=1
11520
11542
else
11521
11543
  ac_have_decl=0
11533
11555
                    if test -z "$gl_replace_getopt"; then
11534
11556
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
11535
11557
$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
11536
 
if test "${gl_cv_func_getopt_posix+set}" = set; then :
 
11558
if ${gl_cv_func_getopt_posix+:} false; then :
11537
11559
  $as_echo_n "(cached) " >&6
11538
11560
else
11539
11561
  
11660
11682
  if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
11661
11683
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
11662
11684
$as_echo_n "checking for working GNU getopt function... " >&6; }
11663
 
if test "${gl_cv_func_getopt_gnu+set}" = set; then :
 
11685
if ${gl_cv_func_getopt_gnu+:} false; then :
11664
11686
  $as_echo_n "(cached) " >&6
11665
11687
else
11666
11688
  # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
11825
11847
        
11826
11848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
11827
11849
$as_echo_n "checking for working fcntl.h... " >&6; }
11828
 
if test "${gl_cv_header_working_fcntl_h+set}" = set; then :
 
11850
if ${gl_cv_header_working_fcntl_h+:} false; then :
11829
11851
  $as_echo_n "(cached) " >&6
11830
11852
else
11831
11853
  if test "$cross_compiling" = yes; then :
11921
11943
 
11922
11944
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
11923
11945
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
11924
 
if test "${ac_cv_gnu_library_2_1+set}" = set; then :
 
11946
if ${ac_cv_gnu_library_2_1+:} false; then :
11925
11947
  $as_echo_n "(cached) " >&6
11926
11948
else
11927
11949
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015
12037
 
12016
12038
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
12017
12039
$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
12018
 
if test "${gl_cv_func_malloc_posix+set}" = set; then :
 
12040
if ${gl_cv_func_malloc_posix+:} false; then :
12019
12041
  $as_echo_n "(cached) " >&6
12020
12042
else
12021
12043
  
12053
12075
  
12054
12076
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
12055
12077
$as_echo_n "checking for a traditional japanese locale... " >&6; }
12056
 
if test "${gt_cv_locale_ja+set}" = set; then :
 
12078
if ${gt_cv_locale_ja+:} false; then :
12057
12079
  $as_echo_n "(cached) " >&6
12058
12080
else
12059
12081
  
12163
12185
  
12164
12186
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
12165
12187
$as_echo_n "checking for a transitional chinese locale... " >&6; }
12166
 
if test "${gt_cv_locale_zh_CN+set}" = set; then :
 
12188
if ${gt_cv_locale_zh_CN+:} false; then :
12167
12189
  $as_echo_n "(cached) " >&6
12168
12190
else
12169
12191
  
12257
12279
  
12258
12280
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
12259
12281
$as_echo_n "checking for a french Unicode locale... " >&6; }
12260
 
if test "${gt_cv_locale_fr_utf8+set}" = set; then :
 
12282
if ${gt_cv_locale_fr_utf8+:} false; then :
12261
12283
  $as_echo_n "(cached) " >&6
12262
12284
else
12263
12285
  
12434
12456
  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
12435
12457
  # irrelevant for anonymous mappings.
12436
12458
  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
12437
 
if test "x$ac_cv_func_mmap" = x""yes; then :
 
12459
if test "x$ac_cv_func_mmap" = xyes; then :
12438
12460
  gl_have_mmap=yes
12439
12461
else
12440
12462
  gl_have_mmap=no
12505
12527
    # Assume that memchr works on platforms that lack mprotect.
12506
12528
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
12507
12529
$as_echo_n "checking whether memchr works... " >&6; }
12508
 
if test "${gl_cv_func_memchr_works+set}" = set; then :
 
12530
if ${gl_cv_func_memchr_works+:} false; then :
12509
12531
  $as_echo_n "(cached) " >&6
12510
12532
else
12511
12533
  if test "$cross_compiling" = yes; then :
12598
12620
  for ac_header in bp-sym.h
12599
12621
do :
12600
12622
  ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
12601
 
if test "x$ac_cv_header_bp_sym_h" = x""yes; then :
 
12623
if test "x$ac_cv_header_bp_sym_h" = xyes; then :
12602
12624
  cat >>confdefs.h <<_ACEOF
12603
12625
@%:@define HAVE_BP_SYM_H 1
12604
12626
_ACEOF
12665
12687
 
12666
12688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12667
12689
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12668
 
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
12690
if ${ac_cv_header_stdbool_h+:} false; then :
12669
12691
  $as_echo_n "(cached) " >&6
12670
12692
else
12671
12693
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740
12762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12741
12763
$as_echo "$ac_cv_header_stdbool_h" >&6; }
12742
12764
   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12743
 
if test "x$ac_cv_type__Bool" = x""yes; then :
 
12765
if test "x$ac_cv_type__Bool" = xyes; then :
12744
12766
  
12745
12767
cat >>confdefs.h <<_ACEOF
12746
12768
@%:@define HAVE__BOOL 1
12762
12784
 
12763
12785
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
12764
12786
$as_echo_n "checking for wchar_t... " >&6; }
12765
 
if test "${gt_cv_c_wchar_t+set}" = set; then :
 
12787
if ${gt_cv_c_wchar_t+:} false; then :
12766
12788
  $as_echo_n "(cached) " >&6
12767
12789
else
12768
12790
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797
12819
 
12798
12820
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
12799
12821
$as_echo_n "checking for long long int... " >&6; }
12800
 
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
12822
if ${ac_cv_type_long_long_int+:} false; then :
12801
12823
  $as_echo_n "(cached) " >&6
12802
12824
else
12803
12825
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888
12910
 
12889
12911
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12890
12912
$as_echo_n "checking for unsigned long long int... " >&6; }
12891
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
 
12913
if ${ac_cv_type_unsigned_long_long_int+:} false; then :
12892
12914
  $as_echo_n "(cached) " >&6
12893
12915
else
12894
12916
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946
12968
 
12947
12969
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5
12948
12970
$as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; }
12949
 
if test "${gl_cv_prog_as_underscore+set}" = set; then :
 
12971
if ${gl_cv_prog_as_underscore+:} false; then :
12950
12972
  $as_echo_n "(cached) " >&6
12951
12973
else
12952
12974
  cat > conftest.c <<EOF
13001
13023
  if test -z "$ERRNO_H"; then
13002
13024
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
13003
13025
$as_echo_n "checking for working strerror function... " >&6; }
13004
 
if test "${gl_cv_func_working_strerror+set}" = set; then :
 
13026
if ${gl_cv_func_working_strerror+:} false; then :
13005
13027
  $as_echo_n "(cached) " >&6
13006
13028
else
13007
13029
  if test "$cross_compiling" = yes; then :
13059
13081
  if test $REPLACE_STRERROR = 1; then
13060
13082
    
13061
13083
  ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
13062
 
if test "x$ac_cv_have_decl_strerror" = x""yes; then :
 
13084
if test "x$ac_cv_have_decl_strerror" = xyes; then :
13063
13085
  ac_have_decl=1
13064
13086
else
13065
13087
  ac_have_decl=0
13074
13096
                    for ac_header in winsock2.h
13075
13097
do :
13076
13098
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
13077
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
13099
if test "x$ac_cv_header_winsock2_h" = xyes; then :
13078
13100
  cat >>confdefs.h <<_ACEOF
13079
13101
@%:@define HAVE_WINSOCK2_H 1
13080
13102
_ACEOF
13103
13125
     else
13104
13126
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
13105
13127
$as_echo_n "checking absolute name of <string.h>... " >&6; }
13106
 
if test "${gl_cv_next_string_h+set}" = set; then :
 
13128
if ${gl_cv_next_string_h+:} false; then :
13107
13129
  $as_echo_n "(cached) " >&6
13108
13130
else
13109
13131
  
13151
13173
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
13152
13174
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
13153
13175
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
13154
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
13176
if eval \${$as_gl_Symbol+:} false; then :
13155
13177
  $as_echo_n "(cached) " >&6
13156
13178
else
13157
13179
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202
13224
     else
13203
13225
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <strings.h>" >&5
13204
13226
$as_echo_n "checking absolute name of <strings.h>... " >&6; }
13205
 
if test "${gl_cv_next_strings_h+set}" = set; then :
 
13227
if ${gl_cv_next_strings_h+:} false; then :
13206
13228
  $as_echo_n "(cached) " >&6
13207
13229
else
13208
13230
  
13250
13272
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
13251
13273
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
13252
13274
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
13253
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
13275
if eval \${$as_gl_Symbol+:} false; then :
13254
13276
  $as_echo_n "(cached) " >&6
13255
13277
else
13256
13278
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287
13309
 
13288
13310
 
13289
13311
ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
13290
 
if test "x$ac_cv_have_decl_strndup" = x""yes; then :
 
13312
if test "x$ac_cv_have_decl_strndup" = xyes; then :
13291
13313
  ac_have_decl=1
13292
13314
else
13293
13315
  ac_have_decl=0
13300
13322
 
13301
13323
 
13302
13324
ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
13303
 
if test "x$ac_cv_have_decl_strnlen" = x""yes; then :
 
13325
if test "x$ac_cv_have_decl_strnlen" = xyes; then :
13304
13326
  ac_have_decl=1
13305
13327
else
13306
13328
  ac_have_decl=0
13323
13345
 
13324
13346
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
13325
13347
$as_echo_n "checking for wint_t... " >&6; }
13326
 
if test "${gt_cv_c_wint_t+set}" = set; then :
 
13348
if ${gt_cv_c_wint_t+:} false; then :
13327
13349
  $as_echo_n "(cached) " >&6
13328
13350
else
13329
13351
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361
13383
 
13362
13384
  fi
13363
13385
 
13364
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13365
 
if test "x$ac_cv_type_size_t" = x""yes; then :
13366
 
  
13367
 
else
13368
 
  
13369
 
cat >>confdefs.h <<_ACEOF
13370
 
@%:@define size_t unsigned int
13371
 
_ACEOF
13372
 
 
13373
 
fi
13374
 
 
13375
13386
 
13376
13387
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13377
13388
$as_echo_n "checking for inttypes.h... " >&6; }
13378
 
if test "${gl_cv_header_inttypes_h+set}" = set; then :
 
13389
if ${gl_cv_header_inttypes_h+:} false; then :
13379
13390
  $as_echo_n "(cached) " >&6
13380
13391
else
13381
13392
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412
13423
 
13413
13424
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
13414
13425
$as_echo_n "checking for stdint.h... " >&6; }
13415
 
if test "${gl_cv_header_stdint_h+set}" = set; then :
 
13426
if ${gl_cv_header_stdint_h+:} false; then :
13416
13427
  $as_echo_n "(cached) " >&6
13417
13428
else
13418
13429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449
13460
  
13450
13461
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
13451
13462
$as_echo_n "checking for intmax_t... " >&6; }
13452
 
if test "${gt_cv_c_intmax_t+set}" = set; then :
 
13463
if ${gt_cv_c_intmax_t+:} false; then :
13453
13464
  $as_echo_n "(cached) " >&6
13454
13465
else
13455
13466
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501
13512
  
13502
13513
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
13503
13514
$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
13504
 
if test "${gl_cv_func_snprintf_retval_c99+set}" = set; then :
 
13515
if ${gl_cv_func_snprintf_retval_c99+:} false; then :
13505
13516
  $as_echo_n "(cached) " >&6
13506
13517
else
13507
13518
  
13585
13596
 
13586
13597
      ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
13587
13598
"
13588
 
if test "x$ac_cv_have_decl__snprintf" = x""yes; then :
 
13599
if test "x$ac_cv_have_decl__snprintf" = xyes; then :
13589
13600
  ac_have_decl=1
13590
13601
else
13591
13602
  ac_have_decl=0
13605
13616
  esac
13606
13617
 
13607
13618
ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
13608
 
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
 
13619
if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
13609
13620
  ac_have_decl=1
13610
13621
else
13611
13622
  ac_have_decl=0
13622
13633
 
13623
13634
 
13624
13635
ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "$ac_includes_default"
13625
 
if test "x$ac_cv_have_decl_iswblank" = x""yes; then :
 
13636
if test "x$ac_cv_have_decl_iswblank" = xyes; then :
13626
13637
  ac_have_decl=1
13627
13638
else
13628
13639
  ac_have_decl=0
13670
13681
  if test $ac_cv_working_alloca_h = yes; then
13671
13682
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
13672
13683
$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
13673
 
if test "${gl_cv_rpl_alloca+set}" = set; then :
 
13684
if ${gl_cv_rpl_alloca+:} false; then :
13674
13685
  $as_echo_n "(cached) " >&6
13675
13686
else
13676
13687
  
13749
13760
  
13750
13761
  ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
13751
13762
"
13752
 
if test "x$ac_cv_have_decl_program_invocation_name" = x""yes; then :
 
13763
if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
13753
13764
  
13754
13765
$as_echo "@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME 1" >>confdefs.h
13755
13766
 
13761
13772
 
13762
13773
  ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
13763
13774
"
13764
 
if test "x$ac_cv_have_decl_program_invocation_short_name" = x""yes; then :
 
13775
if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
13765
13776
  
13766
13777
$as_echo "@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
13767
13778
 
13868
13879
     
13869
13880
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
13870
13881
$as_echo_n "checking whether btowc(0) is correct... " >&6; }
13871
 
if test "${gl_cv_func_btowc_nul+set}" = set; then :
 
13882
if ${gl_cv_func_btowc_nul+:} false; then :
13872
13883
  $as_echo_n "(cached) " >&6
13873
13884
else
13874
13885
  
13911
13922
 
13912
13923
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
13913
13924
$as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
13914
 
if test "${gl_cv_func_btowc_eof+set}" = set; then :
 
13925
if ${gl_cv_func_btowc_eof+:} false; then :
13915
13926
  $as_echo_n "(cached) " >&6
13916
13927
else
13917
13928
  
14040
14051
  
14041
14052
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
14042
14053
$as_echo_n "checking whether // is distinct from /... " >&6; }
14043
 
if test "${gl_cv_double_slash_root+set}" = set; then :
 
14054
if ${gl_cv_double_slash_root+:} false; then :
14044
14055
  $as_echo_n "(cached) " >&6
14045
14056
else
14046
14057
   if test x"$cross_compiling" = xyes ; then
14094
14105
  
14095
14106
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
14096
14107
$as_echo_n "checking for error_at_line... " >&6; }
14097
 
if test "${ac_cv_lib_error_at_line+set}" = set; then :
 
14108
if ${ac_cv_lib_error_at_line+:} false; then :
14098
14109
  $as_echo_n "(cached) " >&6
14099
14110
else
14100
14111
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165
14176
     else
14166
14177
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
14167
14178
$as_echo_n "checking absolute name of <float.h>... " >&6; }
14168
 
if test "${gl_cv_next_float_h+set}" = set; then :
 
14179
if ${gl_cv_next_float_h+:} false; then :
14169
14180
  $as_echo_n "(cached) " >&6
14170
14181
else
14171
14182
  
14222
14233
  gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}"
14223
14234
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5
14224
14235
$as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; }
14225
 
if eval "test \"\${$gl_fnmatch_cache_var+set}\"" = set; then :
 
14236
if eval \${$gl_fnmatch_cache_var+:} false; then :
14226
14237
  $as_echo_n "(cached) " >&6
14227
14238
else
14228
14239
                           if test $gl_fnmatch_required = GNU; then
14329
14340
        
14330
14341
    ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
14331
14342
"
14332
 
if test "x$ac_cv_have_decl_isblank" = x""yes; then :
 
14343
if test "x$ac_cv_have_decl_isblank" = xyes; then :
14333
14344
  ac_have_decl=1
14334
14345
else
14335
14346
  ac_have_decl=0
14356
14367
  if test $ac_cv_func_getdelim = yes; then
14357
14368
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
14358
14369
$as_echo_n "checking for working getdelim function... " >&6; }
14359
 
if test "${gl_cv_func_working_getdelim+set}" = set; then :
 
14370
if ${gl_cv_func_working_getdelim+:} false; then :
14360
14371
  $as_echo_n "(cached) " >&6
14361
14372
else
14362
14373
  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
14462
14473
done
14463
14474
 
14464
14475
  ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
14465
 
if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
 
14476
if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
14466
14477
  ac_have_decl=1
14467
14478
else
14468
14479
  ac_have_decl=0
14496
14507
 
14497
14508
  gl_getline_needs_run_time_check=no
14498
14509
  ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
14499
 
if test "x$ac_cv_func_getline" = x""yes; then :
 
14510
if test "x$ac_cv_func_getline" = xyes; then :
14500
14511
                   gl_getline_needs_run_time_check=yes
14501
14512
else
14502
14513
  am_cv_func_working_getline=no
14505
14516
  if test $gl_getline_needs_run_time_check = yes; then
14506
14517
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5
14507
14518
$as_echo_n "checking for working getline function... " >&6; }
14508
 
if test "${am_cv_func_working_getline+set}" = set; then :
 
14519
if ${am_cv_func_working_getline+:} false; then :
14509
14520
  $as_echo_n "(cached) " >&6
14510
14521
else
14511
14522
  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
14606
14617
  if test $ac_cv_func_getdelim = yes; then
14607
14618
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
14608
14619
$as_echo_n "checking for working getdelim function... " >&6; }
14609
 
if test "${gl_cv_func_working_getdelim+set}" = set; then :
 
14620
if ${gl_cv_func_working_getdelim+:} false; then :
14610
14621
  $as_echo_n "(cached) " >&6
14611
14622
else
14612
14623
  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
14712
14723
done
14713
14724
 
14714
14725
  ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
14715
 
if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
 
14726
if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
14716
14727
  ac_have_decl=1
14717
14728
else
14718
14729
  ac_have_decl=0
14820
14831
     else
14821
14832
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
14822
14833
$as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
14823
 
if test "${gl_cv_next_langinfo_h+set}" = set; then :
 
14834
if ${gl_cv_next_langinfo_h+:} false; then :
14824
14835
  $as_echo_n "(cached) " >&6
14825
14836
else
14826
14837
  
14872
14883
    HAVE_LANGINFO_H=1
14873
14884
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
14874
14885
$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
14875
 
if test "${gl_cv_header_langinfo_codeset+set}" = set; then :
 
14886
if ${gl_cv_header_langinfo_codeset+:} false; then :
14876
14887
  $as_echo_n "(cached) " >&6
14877
14888
else
14878
14889
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903
14914
    fi
14904
14915
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
14905
14916
$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
14906
 
if test "${gl_cv_header_langinfo_t_fmt_ampm+set}" = set; then :
 
14917
if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
14907
14918
  $as_echo_n "(cached) " >&6
14908
14919
else
14909
14920
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934
14945
    fi
14935
14946
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
14936
14947
$as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
14937
 
if test "${gl_cv_header_langinfo_era+set}" = set; then :
 
14948
if ${gl_cv_header_langinfo_era+:} false; then :
14938
14949
  $as_echo_n "(cached) " >&6
14939
14950
else
14940
14951
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965
14976
    fi
14966
14977
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
14967
14978
$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
14968
 
if test "${gl_cv_header_langinfo_yesexpr+set}" = set; then :
 
14979
if ${gl_cv_header_langinfo_yesexpr+:} false; then :
14969
14980
  $as_echo_n "(cached) " >&6
14970
14981
else
14971
14982
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008
15019
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
15009
15020
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
15010
15021
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
15011
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
15022
if eval \${$as_gl_Symbol+:} false; then :
15012
15023
  $as_echo_n "(cached) " >&6
15013
15024
else
15014
15025
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061
15072
    for ac_header in stdlib.h
15062
15073
do :
15063
15074
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15064
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
15075
if test "x$ac_cv_header_stdlib_h" = xyes; then :
15065
15076
  cat >>confdefs.h <<_ACEOF
15066
15077
@%:@define HAVE_STDLIB_H 1
15067
15078
_ACEOF
15072
15083
 
15073
15084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
15074
15085
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
15075
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
15086
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
15076
15087
  $as_echo_n "(cached) " >&6
15077
15088
else
15078
15089
  if test "$cross_compiling" = yes; then :
15189
15200
  
15190
15201
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
15191
15202
$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
15192
 
if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
 
15203
if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
15193
15204
  $as_echo_n "(cached) " >&6
15194
15205
else
15195
15206
  
15245
15256
  
15246
15257
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
15247
15258
$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
15248
 
if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
 
15259
if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
15249
15260
  $as_echo_n "(cached) " >&6
15250
15261
else
15251
15262
  
15331
15342
  
15332
15343
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
15333
15344
$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
15334
 
if test "${gl_cv_func_mbrtowc_null_arg+set}" = set; then :
 
15345
if ${gl_cv_func_mbrtowc_null_arg+:} false; then :
15335
15346
  $as_echo_n "(cached) " >&6
15336
15347
else
15337
15348
  
15390
15401
  
15391
15402
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
15392
15403
$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
15393
 
if test "${gl_cv_func_mbrtowc_retval+set}" = set; then :
 
15404
if ${gl_cv_func_mbrtowc_retval+:} false; then :
15394
15405
  $as_echo_n "(cached) " >&6
15395
15406
else
15396
15407
  
15465
15476
  
15466
15477
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
15467
15478
$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
15468
 
if test "${gl_cv_func_mbrtowc_nul_retval+set}" = set; then :
 
15479
if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
15469
15480
  $as_echo_n "(cached) " >&6
15470
15481
else
15471
15482
  
15588
15599
  
15589
15600
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
15590
15601
$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
15591
 
if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
 
15602
if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
15592
15603
  $as_echo_n "(cached) " >&6
15593
15604
else
15594
15605
  
15644
15655
  
15645
15656
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
15646
15657
$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
15647
 
if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
 
15658
if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
15648
15659
  $as_echo_n "(cached) " >&6
15649
15660
else
15650
15661
  
15773
15784
  
15774
15785
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
15775
15786
$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
15776
 
if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
 
15787
if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
15777
15788
  $as_echo_n "(cached) " >&6
15778
15789
else
15779
15790
  
15829
15840
  
15830
15841
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
15831
15842
$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
15832
 
if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
 
15843
if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
15833
15844
  $as_echo_n "(cached) " >&6
15834
15845
else
15835
15846
  
15917
15928
  
15918
15929
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5
15919
15930
$as_echo_n "checking whether mbsrtowcs works... " >&6; }
15920
 
if test "${gl_cv_func_mbsrtowcs_works+set}" = set; then :
 
15931
if ${gl_cv_func_mbsrtowcs_works+:} false; then :
15921
15932
  $as_echo_n "(cached) " >&6
15922
15933
else
15923
15934
  
16078
16089
  for ac_func in mempcpy
16079
16090
do :
16080
16091
  ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
16081
 
if test "x$ac_cv_func_mempcpy" = x""yes; then :
 
16092
if test "x$ac_cv_func_mempcpy" = xyes; then :
16082
16093
  cat >>confdefs.h <<_ACEOF
16083
16094
@%:@define HAVE_MEMPCPY 1
16084
16095
_ACEOF
16163
16174
  # Code from module progname:
16164
16175
  ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
16165
16176
"
16166
 
if test "x$ac_cv_have_decl_program_invocation_name" = x""yes; then :
 
16177
if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
16167
16178
  ac_have_decl=1
16168
16179
else
16169
16180
  ac_have_decl=0
16175
16186
 
16176
16187
  ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
16177
16188
"
16178
 
if test "x$ac_cv_have_decl_program_invocation_short_name" = x""yes; then :
 
16189
if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
16179
16190
  ac_have_decl=1
16180
16191
else
16181
16192
  ac_have_decl=0
16201
16212
  for ac_func in rawmemchr
16202
16213
do :
16203
16214
  ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr"
16204
 
if test "x$ac_cv_func_rawmemchr" = x""yes; then :
 
16215
if test "x$ac_cv_func_rawmemchr" = xyes; then :
16205
16216
  cat >>confdefs.h <<_ACEOF
16206
16217
@%:@define HAVE_RAWMEMCHR 1
16207
16218
_ACEOF
16286
16297
    # regex.c.
16287
16298
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
16288
16299
$as_echo_n "checking for working re_compile_pattern... " >&6; }
16289
 
if test "${gl_cv_func_re_compile_pattern_working+set}" = set; then :
 
16300
if ${gl_cv_func_re_compile_pattern_working+:} false; then :
16290
16301
  $as_echo_n "(cached) " >&6
16291
16302
else
16292
16303
  if test "$cross_compiling" = yes; then :
16455
16466
    no) ac_use_included_regex=yes;;
16456
16467
    esac
16457
16468
    ;;
16458
 
  *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5 
 
16469
  *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5
16459
16470
    ;;
16460
16471
  esac
16461
16472
 
16526
16537
  for ac_header in libintl.h
16527
16538
do :
16528
16539
  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16529
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
16540
if test "x$ac_cv_header_libintl_h" = xyes; then :
16530
16541
  cat >>confdefs.h <<_ACEOF
16531
16542
@%:@define HAVE_LIBINTL_H 1
16532
16543
_ACEOF
16538
16549
  
16539
16550
  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
16540
16551
"
16541
 
if test "x$ac_cv_have_decl_isblank" = x""yes; then :
 
16552
if test "x$ac_cv_have_decl_isblank" = xyes; then :
16542
16553
  ac_have_decl=1
16543
16554
else
16544
16555
  ac_have_decl=0
16556
16567
  for ac_header in stdint.h
16557
16568
do :
16558
16569
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
16559
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
16570
if test "x$ac_cv_header_stdint_h" = xyes; then :
16560
16571
  cat >>confdefs.h <<_ACEOF
16561
16572
@%:@define HAVE_STDINT_H 1
16562
16573
_ACEOF
16567
16578
 
16568
16579
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
16569
16580
$as_echo_n "checking for SIZE_MAX... " >&6; }
16570
 
if test "${gl_cv_size_max+set}" = set; then :
 
16581
if ${gl_cv_size_max+:} false; then :
16571
16582
  $as_echo_n "(cached) " >&6
16572
16583
else
16573
16584
  
16652
16663
  
16653
16664
            ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include <unistd.h>
16654
16665
"
16655
 
if test "x$ac_cv_have_decl_sleep" = x""yes; then :
 
16666
if test "x$ac_cv_have_decl_sleep" = xyes; then :
16656
16667
  ac_have_decl=1
16657
16668
else
16658
16669
  ac_have_decl=0
16678
16689
  else
16679
16690
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5
16680
16691
$as_echo_n "checking for working sleep... " >&6; }
16681
 
if test "${gl_cv_func_sleep_works+set}" = set; then :
 
16692
if ${gl_cv_func_sleep_works+:} false; then :
16682
16693
  $as_echo_n "(cached) " >&6
16683
16694
else
16684
16695
  if test "$cross_compiling" = yes; then :
16755
16766
  
16756
16767
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
16757
16768
$as_echo_n "checking for ssize_t... " >&6; }
16758
 
if test "${gt_cv_ssize_t+set}" = set; then :
 
16769
if ${gt_cv_ssize_t+:} false; then :
16759
16770
  $as_echo_n "(cached) " >&6
16760
16771
else
16761
16772
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815
16826
  fi
16816
16827
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
16817
16828
$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
16818
 
if test "${gl_cv_decl_null_works+set}" = set; then :
 
16829
if ${gl_cv_decl_null_works+:} false; then :
16819
16830
  $as_echo_n "(cached) " >&6
16820
16831
else
16821
16832
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856
16867
     else
16857
16868
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
16858
16869
$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
16859
 
if test "${gl_cv_next_stddef_h+set}" = set; then :
 
16870
if ${gl_cv_next_stddef_h+:} false; then :
16860
16871
  $as_echo_n "(cached) " >&6
16861
16872
else
16862
16873
  
16943
16954
     else
16944
16955
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
16945
16956
$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
16946
 
if test "${gl_cv_next_stdint_h+set}" = set; then :
 
16957
if ${gl_cv_next_stdint_h+:} false; then :
16947
16958
  $as_echo_n "(cached) " >&6
16948
16959
else
16949
16960
  
16995
17006
    if test $ac_cv_header_stdint_h = yes; then
16996
17007
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
16997
17008
$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
16998
 
if test "${gl_cv_header_working_stdint_h+set}" = set; then :
 
17009
if ${gl_cv_header_working_stdint_h+:} false; then :
16999
17010
  $as_echo_n "(cached) " >&6
17000
17011
else
17001
17012
  gl_cv_header_working_stdint_h=no
17298
17309
  for gltype in ptrdiff_t size_t ; do
17299
17310
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
17300
17311
$as_echo_n "checking for bit size of $gltype... " >&6; }
17301
 
if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
 
17312
if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
17302
17313
  $as_echo_n "(cached) " >&6
17303
17314
else
17304
17315
  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
17343
17354
  for gltype in sig_atomic_t wchar_t wint_t ; do
17344
17355
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
17345
17356
$as_echo_n "checking for bit size of $gltype... " >&6; }
17346
 
if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
 
17357
if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
17347
17358
  $as_echo_n "(cached) " >&6
17348
17359
else
17349
17360
  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
17387
17398
  for gltype in sig_atomic_t wchar_t wint_t ; do
17388
17399
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
17389
17400
$as_echo_n "checking whether $gltype is signed... " >&6; }
17390
 
if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then :
 
17401
if eval \${gl_cv_type_${gltype}_signed+:} false; then :
17391
17402
  $as_echo_n "(cached) " >&6
17392
17403
else
17393
17404
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446
17457
  for gltype in ptrdiff_t size_t ; do
17447
17458
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
17448
17459
$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
17449
 
if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
 
17460
if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
17450
17461
  $as_echo_n "(cached) " >&6
17451
17462
else
17452
17463
  eval gl_cv_type_${gltype}_suffix=no
17518
17529
  for gltype in sig_atomic_t wchar_t wint_t ; do
17519
17530
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
17520
17531
$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
17521
 
if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
 
17532
if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
17522
17533
  $as_echo_n "(cached) " >&6
17523
17534
else
17524
17535
  eval gl_cv_type_${gltype}_suffix=no
17605
17616
     else
17606
17617
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
17607
17618
$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
17608
 
if test "${gl_cv_next_stdio_h+set}" = set; then :
 
17619
if ${gl_cv_next_stdio_h+:} false; then :
17609
17620
  $as_echo_n "(cached) " >&6
17610
17621
else
17611
17622
  
17664
17675
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
17665
17676
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
17666
17677
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
17667
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
17678
if eval \${$as_gl_Symbol+:} false; then :
17668
17679
  $as_echo_n "(cached) " >&6
17669
17680
else
17670
17681
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714
17725
     else
17715
17726
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
17716
17727
$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
17717
 
if test "${gl_cv_next_stdlib_h+set}" = set; then :
 
17728
if ${gl_cv_next_stdlib_h+:} false; then :
17718
17729
  $as_echo_n "(cached) " >&6
17719
17730
else
17720
17731
  
17760
17771
do :
17761
17772
  ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default
17762
17773
"
17763
 
if test "x$ac_cv_header_random_h" = x""yes; then :
 
17774
if test "x$ac_cv_header_random_h" = xyes; then :
17764
17775
  cat >>confdefs.h <<_ACEOF
17765
17776
@%:@define HAVE_RANDOM_H 1
17766
17777
_ACEOF
17781
17792
      #endif
17782
17793
    
17783
17794
"
17784
 
if test "x$ac_cv_type_struct_random_data" = x""yes; then :
 
17795
if test "x$ac_cv_type_struct_random_data" = xyes; then :
17785
17796
  
17786
17797
cat >>confdefs.h <<_ACEOF
17787
17798
@%:@define HAVE_STRUCT_RANDOM_DATA 1
17798
17809
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
17799
17810
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
17800
17811
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
17801
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
17812
if eval \${$as_gl_Symbol+:} false; then :
17802
17813
  $as_echo_n "(cached) " >&6
17803
17814
else
17804
17815
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855
17866
  for ac_func in strcasecmp
17856
17867
do :
17857
17868
  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
17858
 
if test "x$ac_cv_func_strcasecmp" = x""yes; then :
 
17869
if test "x$ac_cv_func_strcasecmp" = xyes; then :
17859
17870
  cat >>confdefs.h <<_ACEOF
17860
17871
@%:@define HAVE_STRCASECMP 1
17861
17872
_ACEOF
17888
17899
  for ac_func in strncasecmp
17889
17900
do :
17890
17901
  ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
17891
 
if test "x$ac_cv_func_strncasecmp" = x""yes; then :
 
17902
if test "x$ac_cv_func_strncasecmp" = xyes; then :
17892
17903
  cat >>confdefs.h <<_ACEOF
17893
17904
@%:@define HAVE_STRNCASECMP 1
17894
17905
_ACEOF
17907
17918
 
17908
17919
  fi
17909
17920
  ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default"
17910
 
if test "x$ac_cv_have_decl_strncasecmp" = x""yes; then :
 
17921
if test "x$ac_cv_have_decl_strncasecmp" = xyes; then :
17911
17922
  ac_have_decl=1
17912
17923
else
17913
17924
  ac_have_decl=0
17938
17949
  for ac_func in strchrnul
17939
17950
do :
17940
17951
  ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
17941
 
if test "x$ac_cv_func_strchrnul" = x""yes; then :
 
17952
if test "x$ac_cv_func_strchrnul" = xyes; then :
17942
17953
  cat >>confdefs.h <<_ACEOF
17943
17954
@%:@define HAVE_STRCHRNUL 1
17944
17955
_ACEOF
18023
18034
    # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
18024
18035
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
18025
18036
$as_echo_n "checking for working strndup... " >&6; }
18026
 
if test "${gl_cv_func_strndup_works+set}" = set; then :
 
18037
if ${gl_cv_func_strndup_works+:} false; then :
18027
18038
  $as_echo_n "(cached) " >&6
18028
18039
else
18029
18040
  if test "$cross_compiling" = yes; then :
18116
18127
  if test $ac_cv_have_decl_strnlen = no; then
18117
18128
    HAVE_DECL_STRNLEN=0
18118
18129
  else
18119
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
 
18130
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
18120
18131
$as_echo_n "checking for working strnlen... " >&6; }
18121
 
if test "${ac_cv_func_strnlen_working+set}" = set; then :
 
18132
if ${ac_cv_func_strnlen_working+:} false; then :
18122
18133
  $as_echo_n "(cached) " >&6
18123
18134
else
18124
18135
  if test "$cross_compiling" = yes; then :
18125
 
  ac_cv_func_strnlen_working=no
 
18136
  # Guess no on AIX systems, yes otherwise.
 
18137
                case "$host_os" in
 
18138
                  aix*) ac_cv_func_strnlen_working=no;;
 
18139
                  *)    ac_cv_func_strnlen_working=yes;;
 
18140
                esac
18126
18141
else
18127
18142
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18128
18143
/* end confdefs.h.  */
18218
18233
     else
18219
18234
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/wait.h>" >&5
18220
18235
$as_echo_n "checking absolute name of <sys/wait.h>... " >&6; }
18221
 
if test "${gl_cv_next_sys_wait_h+set}" = set; then :
 
18236
if ${gl_cv_next_sys_wait_h+:} false; then :
18222
18237
  $as_echo_n "(cached) " >&6
18223
18238
else
18224
18239
  
18278
18293
     else
18279
18294
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sysexits.h>" >&5
18280
18295
$as_echo_n "checking absolute name of <sysexits.h>... " >&6; }
18281
 
if test "${gl_cv_next_sysexits_h+set}" = set; then :
 
18296
if ${gl_cv_next_sysexits_h+:} false; then :
18282
18297
  $as_echo_n "(cached) " >&6
18283
18298
else
18284
18299
  
18380
18395
     else
18381
18396
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
18382
18397
$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
18383
 
if test "${gl_cv_next_unistd_h+set}" = set; then :
 
18398
if ${gl_cv_next_unistd_h+:} false; then :
18384
18399
  $as_echo_n "(cached) " >&6
18385
18400
else
18386
18401
  
18436
18451
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
18437
18452
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
18438
18453
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
18439
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
18454
if eval \${$as_gl_Symbol+:} false; then :
18440
18455
  $as_echo_n "(cached) " >&6
18441
18456
else
18442
18457
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543
18558
  
18544
18559
  
18545
18560
  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18546
 
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
18561
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18547
18562
  
18548
18563
else
18549
18564
  
18568
18583
  for ac_func in vsnprintf
18569
18584
do :
18570
18585
  ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
18571
 
if test "x$ac_cv_func_vsnprintf" = x""yes; then :
 
18586
if test "x$ac_cv_func_vsnprintf" = xyes; then :
18572
18587
  cat >>confdefs.h <<_ACEOF
18573
18588
@%:@define HAVE_VSNPRINTF 1
18574
18589
_ACEOF
18581
18596
  
18582
18597
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
18583
18598
$as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
18584
 
if test "${gl_cv_func_snprintf_size1+set}" = set; then :
 
18599
if ${gl_cv_func_snprintf_size1+:} false; then :
18585
18600
  $as_echo_n "(cached) " >&6
18586
18601
else
18587
18602
  
18671
18686
     else
18672
18687
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
18673
18688
$as_echo_n "checking absolute name of <wchar.h>... " >&6; }
18674
 
if test "${gl_cv_next_wchar_h+set}" = set; then :
 
18689
if ${gl_cv_next_wchar_h+:} false; then :
18675
18690
  $as_echo_n "(cached) " >&6
18676
18691
else
18677
18692
  
18733
18748
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
18734
18749
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
18735
18750
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
18736
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
18751
if eval \${$as_gl_Symbol+:} false; then :
18737
18752
  $as_echo_n "(cached) " >&6
18738
18753
else
18739
18754
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793
18808
  
18794
18809
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
18795
18810
$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
18796
 
if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
 
18811
if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
18797
18812
  $as_echo_n "(cached) " >&6
18798
18813
else
18799
18814
  
18849
18864
  
18850
18865
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
18851
18866
$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
18852
 
if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
 
18867
if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
18853
18868
  $as_echo_n "(cached) " >&6
18854
18869
else
18855
18870
  
18937
18952
      
18938
18953
             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
18939
18954
$as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
18940
 
if test "${gl_cv_func_wcrtomb_retval+set}" = set; then :
 
18955
if ${gl_cv_func_wcrtomb_retval+:} false; then :
18941
18956
  $as_echo_n "(cached) " >&6
18942
18957
else
18943
18958
  
19075
19090
    if test $ac_cv_func_iswcntrl = yes; then
19076
19091
                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
19077
19092
$as_echo_n "checking whether iswcntrl works... " >&6; }
19078
 
if test "${gl_cv_func_iswcntrl_works+set}" = set; then :
 
19093
if ${gl_cv_func_iswcntrl_works+:} false; then :
19079
19094
  $as_echo_n "(cached) " >&6
19080
19095
else
19081
19096
  
19137
19152
     else
19138
19153
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
19139
19154
$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
19140
 
if test "${gl_cv_next_wctype_h+set}" = set; then :
 
19155
if ${gl_cv_next_wctype_h+:} false; then :
19141
19156
  $as_echo_n "(cached) " >&6
19142
19157
else
19143
19158
  
19199
19214
  for ac_header in stdint.h
19200
19215
do :
19201
19216
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19202
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
19217
if test "x$ac_cv_header_stdint_h" = xyes; then :
19203
19218
  cat >>confdefs.h <<_ACEOF
19204
19219
@%:@define HAVE_STDINT_H 1
19205
19220
_ACEOF
19265
19280
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19266
19281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19267
19282
$as_echo_n "checking for $ac_word... " >&6; }
19268
 
if test "${ac_cv_prog_TARGET_CC+set}" = set; then :
 
19283
if ${ac_cv_prog_TARGET_CC+:} false; then :
19269
19284
  $as_echo_n "(cached) " >&6
19270
19285
else
19271
19286
  if test -n "$TARGET_CC"; then
19309
19324
set dummy $ac_prog; ac_word=$2
19310
19325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19311
19326
$as_echo_n "checking for $ac_word... " >&6; }
19312
 
if test "${ac_cv_prog_ac_ct_TARGET_CC+set}" = set; then :
 
19327
if ${ac_cv_prog_ac_ct_TARGET_CC+:} false; then :
19313
19328
  $as_echo_n "(cached) " >&6
19314
19329
else
19315
19330
  if test -n "$ac_ct_TARGET_CC"; then
19346
19361
done
19347
19362
 
19348
19363
  if test "x$ac_ct_TARGET_CC" = x; then
19349
 
    TARGET_CC="as_fn_error $? "none of gcc, egcs and cc is found. set TARGET_CC manually." "$LINENO" 5 "
 
19364
    TARGET_CC="as_fn_error $? "none of gcc, egcs and cc is found. set TARGET_CC manually." "$LINENO" 5"
19350
19365
  else
19351
19366
    case $cross_compiling:$ac_tool_warned in
19352
19367
yes:)
19363
19378
set dummy ${ac_tool_prefix}objcopy; ac_word=$2
19364
19379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19365
19380
$as_echo_n "checking for $ac_word... " >&6; }
19366
 
if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
 
19381
if ${ac_cv_prog_OBJCOPY+:} false; then :
19367
19382
  $as_echo_n "(cached) " >&6
19368
19383
else
19369
19384
  if test -n "$OBJCOPY"; then
19403
19418
set dummy objcopy; ac_word=$2
19404
19419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19405
19420
$as_echo_n "checking for $ac_word... " >&6; }
19406
 
if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
 
19421
if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
19407
19422
  $as_echo_n "(cached) " >&6
19408
19423
else
19409
19424
  if test -n "$ac_ct_OBJCOPY"; then
19455
19470
set dummy ${ac_tool_prefix}strip; ac_word=$2
19456
19471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19457
19472
$as_echo_n "checking for $ac_word... " >&6; }
19458
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
19473
if ${ac_cv_prog_STRIP+:} false; then :
19459
19474
  $as_echo_n "(cached) " >&6
19460
19475
else
19461
19476
  if test -n "$STRIP"; then
19495
19510
set dummy strip; ac_word=$2
19496
19511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19497
19512
$as_echo_n "checking for $ac_word... " >&6; }
19498
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
19513
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
19499
19514
  $as_echo_n "(cached) " >&6
19500
19515
else
19501
19516
  if test -n "$ac_ct_STRIP"; then
19547
19562
set dummy ${ac_tool_prefix}nm; ac_word=$2
19548
19563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19549
19564
$as_echo_n "checking for $ac_word... " >&6; }
19550
 
if test "${ac_cv_prog_NM+set}" = set; then :
 
19565
if ${ac_cv_prog_NM+:} false; then :
19551
19566
  $as_echo_n "(cached) " >&6
19552
19567
else
19553
19568
  if test -n "$NM"; then
19587
19602
set dummy nm; ac_word=$2
19588
19603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19589
19604
$as_echo_n "checking for $ac_word... " >&6; }
19590
 
if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
 
19605
if ${ac_cv_prog_ac_ct_NM+:} false; then :
19591
19606
  $as_echo_n "(cached) " >&6
19592
19607
else
19593
19608
  if test -n "$ac_ct_NM"; then
19645
19660
set dummy ${ac_tool_prefix}objcopy; ac_word=$2
19646
19661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19647
19662
$as_echo_n "checking for $ac_word... " >&6; }
19648
 
if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
 
19663
if ${ac_cv_prog_OBJCOPY+:} false; then :
19649
19664
  $as_echo_n "(cached) " >&6
19650
19665
else
19651
19666
  if test -n "$OBJCOPY"; then
19685
19700
set dummy objcopy; ac_word=$2
19686
19701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19687
19702
$as_echo_n "checking for $ac_word... " >&6; }
19688
 
if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
 
19703
if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
19689
19704
  $as_echo_n "(cached) " >&6
19690
19705
else
19691
19706
  if test -n "$ac_ct_OBJCOPY"; then
19737
19752
set dummy ${ac_tool_prefix}strip; ac_word=$2
19738
19753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19739
19754
$as_echo_n "checking for $ac_word... " >&6; }
19740
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
19755
if ${ac_cv_prog_STRIP+:} false; then :
19741
19756
  $as_echo_n "(cached) " >&6
19742
19757
else
19743
19758
  if test -n "$STRIP"; then
19777
19792
set dummy strip; ac_word=$2
19778
19793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19779
19794
$as_echo_n "checking for $ac_word... " >&6; }
19780
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
19795
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
19781
19796
  $as_echo_n "(cached) " >&6
19782
19797
else
19783
19798
  if test -n "$ac_ct_STRIP"; then
19829
19844
set dummy ${ac_tool_prefix}nm; ac_word=$2
19830
19845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19831
19846
$as_echo_n "checking for $ac_word... " >&6; }
19832
 
if test "${ac_cv_prog_NM+set}" = set; then :
 
19847
if ${ac_cv_prog_NM+:} false; then :
19833
19848
  $as_echo_n "(cached) " >&6
19834
19849
else
19835
19850
  if test -n "$NM"; then
19869
19884
set dummy nm; ac_word=$2
19870
19885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19871
19886
$as_echo_n "checking for $ac_word... " >&6; }
19872
 
if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
 
19887
if ${ac_cv_prog_ac_ct_NM+:} false; then :
19873
19888
  $as_echo_n "(cached) " >&6
19874
19889
else
19875
19890
  if test -n "$ac_ct_NM"; then
19941
19956
if test "x$target_cpu" = xi386; then
19942
19957
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -falign-loops works" >&5
19943
19958
$as_echo_n "checking whether -falign-loops works... " >&6; }
19944
 
if test "${grub_cv_cc_falign_loop+set}" = set; then :
 
19959
if ${grub_cv_cc_falign_loop+:} false; then :
19945
19960
  $as_echo_n "(cached) " >&6
19946
19961
else
19947
19962
  
19985
20000
# behaviour.
19986
20001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-dwarf2-cfi-asm works" >&5
19987
20002
$as_echo_n "checking whether -fno-dwarf2-cfi-asm works... " >&6; }
19988
 
if test "${grub_cv_cc_fno_dwarf2_cfi_asm+set}" = set; then :
 
20003
if ${grub_cv_cc_fno_dwarf2_cfi_asm+:} false; then :
19989
20004
  $as_echo_n "(cached) " >&6
19990
20005
else
19991
20006
  
20021
20036
if test "${target_cpu}-${platform}" = mips-yeeloong; then
20022
20037
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -march=loongson2f works" >&5
20023
20038
$as_echo_n "checking whether -march=loongson2f works... " >&6; }
20024
 
if test "${grub_cv_cc_march_loongson2f+set}" = set; then :
 
20039
if ${grub_cv_cc_march_loongson2f+:} false; then :
20025
20040
  $as_echo_n "(cached) " >&6
20026
20041
else
20027
20042
  
20060
20075
 
20061
20076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our target compiler is apple cc" >&5
20062
20077
$as_echo_n "checking whether our target compiler is apple cc... " >&6; }
20063
 
if test "${grub_cv_apple_target_cc+set}" = set; then :
 
20078
if ${grub_cv_apple_target_cc+:} false; then :
20064
20079
  $as_echo_n "(cached) " >&6
20065
20080
else
20066
20081
  if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then
20084
20099
set dummy objconv; ac_word=$2
20085
20100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20086
20101
$as_echo_n "checking for $ac_word... " >&6; }
20087
 
if test "${ac_cv_prog_OBJCONV+set}" = set; then :
 
20102
if ${ac_cv_prog_OBJCONV+:} false; then :
20088
20103
  $as_echo_n "(cached) " >&6
20089
20104
else
20090
20105
  if test -n "$OBJCONV"; then
20122
20137
set dummy objconv; ac_word=$2
20123
20138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20124
20139
$as_echo_n "checking for $ac_word... " >&6; }
20125
 
if test "${ac_cv_prog_OBJCONV+set}" = set; then :
 
20140
if ${ac_cv_prog_OBJCONV+:} false; then :
20126
20141
  $as_echo_n "(cached) " >&6
20127
20142
else
20128
20143
  if test -n "$OBJCONV"; then
20157
20172
 
20158
20173
  fi
20159
20174
  if test "x$OBJCONV" = x ; then
20160
 
    as_fn_error $? "objconv not found which is required when building with apple compiler" "$LINENO" 5 
 
20175
    as_fn_error $? "objconv not found which is required when building with apple compiler" "$LINENO" 5
20161
20176
  fi
20162
20177
  TARGET_IMG_LDSCRIPT=
20163
20178
  TARGET_IMG_CFLAGS="-static"
20214
20229
  # Use large model to support 4G memory
20215
20230
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mcmodel=large works" >&5
20216
20231
$as_echo_n "checking whether option -mcmodel=large works... " >&6; }
20217
 
if test "${grub_cv_cc_mcmodel+set}" = set; then :
 
20232
if ${grub_cv_cc_mcmodel+:} false; then :
20218
20233
  $as_echo_n "(cached) " >&6
20219
20234
else
20220
20235
  
20242
20257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_mcmodel" >&5
20243
20258
$as_echo "$grub_cv_cc_mcmodel" >&6; }
20244
20259
  if test "x$grub_cv_cc_mcmodel" = xno; then
20245
 
    as_fn_error $? "-mcmodel=large not supported. Upgrade your gcc." "$LINENO" 5 
 
20260
    as_fn_error $? "-mcmodel=large not supported. Upgrade your gcc." "$LINENO" 5
20246
20261
  else
20247
20262
    TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large"
20248
20263
  fi
20250
20265
  # EFI writes to stack below %rsp, we must not use the red zone
20251
20266
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mno-red-zone works" >&5
20252
20267
$as_echo_n "checking whether option -mno-red-zone works... " >&6; }
20253
 
if test "${grub_cv_cc_no_red_zone+set}" = set; then :
 
20268
if ${grub_cv_cc_no_red_zone+:} false; then :
20254
20269
  $as_echo_n "(cached) " >&6
20255
20270
else
20256
20271
  
20277
20292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_no_red_zone" >&5
20278
20293
$as_echo "$grub_cv_cc_no_red_zone" >&6; }
20279
20294
  if test "x$grub_cv_cc_no_red_zone" = xno; then
20280
 
    as_fn_error $? "-mno-red-zone not supported, upgrade your gcc" "$LINENO" 5 
 
20295
    as_fn_error $? "-mno-red-zone not supported, upgrade your gcc" "$LINENO" 5
20281
20296
  fi
20282
20297
 
20283
20298
  TARGET_CFLAGS="$TARGET_CFLAGS -mno-red-zone"
20310
20325
  test $ac_status = 0; }; } && test -s conftest.s; then
20311
20326
  true
20312
20327
else
20313
 
  as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 
 
20328
  as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5
20314
20329
fi
20315
20330
if grep __enable_execute_stack conftest.s >/dev/null 2>&1; then
20316
20331
  NEED_ENABLE_EXECUTE_STACK=1
20470
20485
 
20471
20486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C symbols get an underscore after compilation" >&5
20472
20487
$as_echo_n "checking if C symbols get an underscore after compilation... " >&6; }
20473
 
if test "${grub_cv_asm_uscore+set}" = set; then :
 
20488
if ${grub_cv_asm_uscore+:} false; then :
20474
20489
  $as_echo_n "(cached) " >&6
20475
20490
else
20476
20491
  cat > conftest.c <<\EOF
20491
20506
  test $ac_status = 0; }; } && test -s conftest.s; then
20492
20507
  true
20493
20508
else
20494
 
  as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 
 
20509
  as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5
20495
20510
fi
20496
20511
 
20497
20512
if $EGREP '(^|^_[:alnum])_func' conftest.s >/dev/null 2>&1; then
20539
20554
# Defined in aclocal.m4.
20540
20555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether target compiler is working" >&5
20541
20556
$as_echo_n "checking whether target compiler is working... " >&6; }
20542
 
if test "${grub_cv_prog_target_cc+set}" = set; then :
 
20557
if ${grub_cv_prog_target_cc+:} false; then :
20543
20558
  $as_echo_n "(cached) " >&6
20544
20559
else
20545
20560
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20570
20585
$as_echo "$grub_cv_prog_target_cc" >&6; }
20571
20586
 
20572
20587
if test "x$grub_cv_prog_target_cc" = xno; then
20573
 
  as_fn_error $? "cannot compile for the target" "$LINENO" 5 
 
20588
  as_fn_error $? "cannot compile for the target" "$LINENO" 5
20574
20589
fi
20575
20590
 
20576
20591
if test "x$TARGET_APPLE_CC" != x1 ; then
20577
20592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${OBJCOPY} works for absolute addresses" >&5
20578
20593
$as_echo_n "checking whether ${OBJCOPY} works for absolute addresses... " >&6; }
20579
 
if test "${grub_cv_prog_objcopy_absolute+set}" = set; then :
 
20594
if ${grub_cv_prog_objcopy_absolute+:} false; then :
20580
20595
  $as_echo_n "(cached) " >&6
20581
20596
else
20582
20597
  cat > conftest.c <<\EOF
20594
20609
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20595
20610
  test $ac_status = 0; } && test -s conftest.o; then :
20596
20611
else
20597
 
  as_fn_error $? "${CC-cc} cannot compile C source code" "$LINENO" 5 
 
20612
  as_fn_error $? "${CC-cc} cannot compile C source code" "$LINENO" 5
20598
20613
fi
20599
20614
grub_cv_prog_objcopy_absolute=yes
20600
20615
for link_addr in 0x2000 0x8000 0x7C00; do
20605
20620
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20606
20621
  test $ac_status = 0; }; }; then :
20607
20622
  else
20608
 
    as_fn_error $? "${CC-cc} cannot link at address $link_addr" "$LINENO" 5 
 
20623
    as_fn_error $? "${CC-cc} cannot link at address $link_addr" "$LINENO" 5
20609
20624
  fi
20610
20625
  if { ac_try='${OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest'
20611
20626
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20614
20629
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20615
20630
  test $ac_status = 0; }; }; then :
20616
20631
  else
20617
 
    as_fn_error $? "${OBJCOPY-objcopy} cannot create binary files" "$LINENO" 5 
 
20632
    as_fn_error $? "${OBJCOPY-objcopy} cannot create binary files" "$LINENO" 5
20618
20633
  fi
20619
20634
  if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'
20620
20635
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
20635
20650
$as_echo "$grub_cv_prog_objcopy_absolute" >&6; }
20636
20651
 
20637
20652
if test "x$grub_cv_prog_objcopy_absolute" = xno; then
20638
 
  as_fn_error $? "GRUB requires a working absolute objcopy; upgrade your binutils" "$LINENO" 5 
 
20653
  as_fn_error $? "GRUB requires a working absolute objcopy; upgrade your binutils" "$LINENO" 5
20639
20654
fi
20640
20655
 
20641
20656
fi
20642
20657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts --build-id=none" >&5
20643
20658
$as_echo_n "checking whether linker accepts --build-id=none... " >&6; }
20644
 
if test "${grub_cv_prog_ld_build_id_none+set}" = set; then :
 
20659
if ${grub_cv_prog_ld_build_id_none+:} false; then :
20645
20660
  $as_echo_n "(cached) " >&6
20646
20661
else
20647
20662
  save_LDFLAGS="$LDFLAGS"
20684
20699
    
20685
20700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __bss_start is defined by the compiler" >&5
20686
20701
$as_echo_n "checking if __bss_start is defined by the compiler... " >&6; }
20687
 
if test "${grub_cv_check_uscore_uscore_bss_start_symbol+set}" = set; then :
 
20702
if ${grub_cv_check_uscore_uscore_bss_start_symbol+:} false; then :
20688
20703
  $as_echo_n "(cached) " >&6
20689
20704
else
20690
20705
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20713
20728
 
20714
20729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if edata is defined by the compiler" >&5
20715
20730
$as_echo_n "checking if edata is defined by the compiler... " >&6; }
20716
 
if test "${grub_cv_check_edata_symbol+set}" = set; then :
 
20731
if ${grub_cv_check_edata_symbol+:} false; then :
20717
20732
  $as_echo_n "(cached) " >&6
20718
20733
else
20719
20734
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20742
20757
 
20743
20758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _edata is defined by the compiler" >&5
20744
20759
$as_echo_n "checking if _edata is defined by the compiler... " >&6; }
20745
 
if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then :
 
20760
if ${grub_cv_check_uscore_edata_symbol+:} false; then :
20746
20761
  $as_echo_n "(cached) " >&6
20747
20762
else
20748
20763
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20776
20791
elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then
20777
20792
  BSS_START_SYMBOL=_edata
20778
20793
else
20779
 
  as_fn_error $? "none of __bss_start, edata or _edata is defined" "$LINENO" 5 
 
20794
  as_fn_error $? "none of __bss_start, edata or _edata is defined" "$LINENO" 5
20780
20795
fi
20781
20796
 
20782
20797
    
20783
20798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if end is defined by the compiler" >&5
20784
20799
$as_echo_n "checking if end is defined by the compiler... " >&6; }
20785
 
if test "${grub_cv_check_end_symbol+set}" = set; then :
 
20800
if ${grub_cv_check_end_symbol+:} false; then :
20786
20801
  $as_echo_n "(cached) " >&6
20787
20802
else
20788
20803
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811
20826
 
20812
20827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _end is defined by the compiler" >&5
20813
20828
$as_echo_n "checking if _end is defined by the compiler... " >&6; }
20814
 
if test "${grub_cv_check_uscore_end_symbol+set}" = set; then :
 
20829
if ${grub_cv_check_uscore_end_symbol+:} false; then :
20815
20830
  $as_echo_n "(cached) " >&6
20816
20831
else
20817
20832
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20843
20858
elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then
20844
20859
  END_SYMBOL=_end
20845
20860
else
20846
 
  as_fn_error $? "neither end nor _end is defined" "$LINENO" 5 
 
20861
  as_fn_error $? "neither end nor _end is defined" "$LINENO" 5
20847
20862
fi
20848
20863
 
20849
20864
  fi
20851
20866
  
20852
20867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether addr32 must be in the same line as the instruction" >&5
20853
20868
$as_echo_n "checking whether addr32 must be in the same line as the instruction... " >&6; }
20854
 
if test "${grub_cv_i386_asm_prefix_requirement+set}" = set; then :
 
20869
if ${grub_cv_i386_asm_prefix_requirement+:} false; then :
20855
20870
  $as_echo_n "(cached) " >&6
20856
20871
else
20857
20872
  cat > conftest.s <<\EOF
20891
20906
 
20892
20907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .code16 addr32 assembler support" >&5
20893
20908
$as_echo_n "checking for .code16 addr32 assembler support... " >&6; }
20894
 
if test "${grub_cv_i386_asm_addr32+set}" = set; then :
 
20909
if ${grub_cv_i386_asm_addr32+:} false; then :
20895
20910
  $as_echo_n "(cached) " >&6
20896
20911
else
20897
20912
  cat > conftest.s.in <<\EOF
20941
20956
if test x"$efiemu_excuse" = x ; then
20942
20957
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether options required for efiemu work" >&5
20943
20958
$as_echo_n "checking whether options required for efiemu work... " >&6; }
20944
 
if test "${grub_cv_cc_efiemu+set}" = set; then :
 
20959
if ${grub_cv_cc_efiemu+:} false; then :
20945
20960
  $as_echo_n "(cached) " >&6
20946
20961
else
20947
20962
  
20972
20987
  fi
20973
20988
fi
20974
20989
if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then
20975
 
  as_fn_error $? "efiemu runtime was explicitly requested but can't be compiled" "$LINENO" 5 
 
20990
  as_fn_error $? "efiemu runtime was explicitly requested but can't be compiled" "$LINENO" 5
20976
20991
fi
20977
20992
if test x"$efiemu_excuse" = x ; then
20978
20993
enable_efiemu=yes
20984
20999
if test "$platform" != emu; then
20985
21000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -nostdinc -isystem works" >&5
20986
21001
$as_echo_n "checking whether -nostdinc -isystem works... " >&6; }
20987
 
if test "${grub_cv_cc_isystem+set}" = set; then :
 
21002
if ${grub_cv_cc_isystem+:} false; then :
20988
21003
  $as_echo_n "(cached) " >&6
20989
21004
else
20990
21005
  
21021
21036
 
21022
21037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-trampolines work" >&5
21023
21038
$as_echo_n "checking whether -Wno-trampolines work... " >&6; }
21024
 
if test "${grub_cv_cc_wnotrampolines+set}" = set; then :
 
21039
if ${grub_cv_cc_wnotrampolines+:} false; then :
21025
21040
  $as_echo_n "(cached) " >&6
21026
21041
else
21027
21042
  
21101
21116
# Check for curses libraries.
21102
21117
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5
21103
21118
$as_echo_n "checking for wgetch in -lncurses... " >&6; }
21104
 
if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then :
 
21119
if ${ac_cv_lib_ncurses_wgetch+:} false; then :
21105
21120
  $as_echo_n "(cached) " >&6
21106
21121
else
21107
21122
  ac_check_lib_save_LIBS=$LIBS
21135
21150
fi
21136
21151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5
21137
21152
$as_echo "$ac_cv_lib_ncurses_wgetch" >&6; }
21138
 
if test "x$ac_cv_lib_ncurses_wgetch" = x""yes; then :
 
21153
if test "x$ac_cv_lib_ncurses_wgetch" = xyes; then :
21139
21154
  LIBCURSES="-lncurses"
21140
21155
else
21141
21156
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lcurses" >&5
21142
21157
$as_echo_n "checking for wgetch in -lcurses... " >&6; }
21143
 
if test "${ac_cv_lib_curses_wgetch+set}" = set; then :
 
21158
if ${ac_cv_lib_curses_wgetch+:} false; then :
21144
21159
  $as_echo_n "(cached) " >&6
21145
21160
else
21146
21161
  ac_check_lib_save_LIBS=$LIBS
21174
21189
fi
21175
21190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_wgetch" >&5
21176
21191
$as_echo "$ac_cv_lib_curses_wgetch" >&6; }
21177
 
if test "x$ac_cv_lib_curses_wgetch" = x""yes; then :
 
21192
if test "x$ac_cv_lib_curses_wgetch" = xyes; then :
21178
21193
  LIBCURSES="-lcurses"
21179
21194
else
21180
21195
  missing_ncurses=true
21188
21203
  for ac_header in ncurses/curses.h
21189
21204
do :
21190
21205
  ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default"
21191
 
if test "x$ac_cv_header_ncurses_curses_h" = x""yes; then :
 
21206
if test "x$ac_cv_header_ncurses_curses_h" = xyes; then :
21192
21207
  cat >>confdefs.h <<_ACEOF
21193
21208
@%:@define HAVE_NCURSES_CURSES_H 1
21194
21209
_ACEOF
21197
21212
  for ac_header in ncurses.h
21198
21213
do :
21199
21214
  ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
21200
 
if test "x$ac_cv_header_ncurses_h" = x""yes; then :
 
21215
if test "x$ac_cv_header_ncurses_h" = xyes; then :
21201
21216
  cat >>confdefs.h <<_ACEOF
21202
21217
@%:@define HAVE_NCURSES_H 1
21203
21218
_ACEOF
21206
21221
  for ac_header in curses.h
21207
21222
do :
21208
21223
  ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
21209
 
if test "x$ac_cv_header_curses_h" = x""yes; then :
 
21224
if test "x$ac_cv_header_curses_h" = xyes; then :
21210
21225
  cat >>confdefs.h <<_ACEOF
21211
21226
@%:@define HAVE_CURSES_H 1
21212
21227
_ACEOF
21227
21242
 
21228
21243
fi
21229
21244
if test x"$missing_ncurses" = xtrue ; then
21230
 
  as_fn_error $? "grub-emu can't be compiled without ncurses" "$LINENO" 5 
 
21245
  as_fn_error $? "grub-emu can't be compiled without ncurses" "$LINENO" 5
21231
21246
fi
21232
21247
 
21233
21248
if test x"$enable_grub_emu_usb" != xyes ; then
21242
21257
    # Check for libusb libraries.
21243
21258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_claim_interface in -lusb" >&5
21244
21259
$as_echo_n "checking for usb_claim_interface in -lusb... " >&6; }
21245
 
if test "${ac_cv_lib_usb_usb_claim_interface+set}" = set; then :
 
21260
if ${ac_cv_lib_usb_usb_claim_interface+:} false; then :
21246
21261
  $as_echo_n "(cached) " >&6
21247
21262
else
21248
21263
  ac_check_lib_save_LIBS=$LIBS
21276
21291
fi
21277
21292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_claim_interface" >&5
21278
21293
$as_echo "$ac_cv_lib_usb_usb_claim_interface" >&6; }
21279
 
if test "x$ac_cv_lib_usb_usb_claim_interface" = x""yes; then :
 
21294
if test "x$ac_cv_lib_usb_usb_claim_interface" = xyes; then :
21280
21295
  LIBUSB="-lusb"
21281
21296
else
21282
21297
  grub_emu_usb_excuse="need libusb library"
21289
21304
    for ac_header in usb.h
21290
21305
do :
21291
21306
  ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default"
21292
 
if test "x$ac_cv_header_usb_h" = x""yes; then :
 
21307
if test "x$ac_cv_header_usb_h" = xyes; then :
21293
21308
  cat >>confdefs.h <<_ACEOF
21294
21309
@%:@define HAVE_USB_H 1
21295
21310
_ACEOF
21302
21317
 
21303
21318
fi
21304
21319
if test x"$enable_grub_emu_usb" = xyes && test x"$grub_emu_usb_excuse" != x ; then
21305
 
  as_fn_error $? "USB support for grub-emu was explicitly requested but can't be compiled" "$LINENO" 5 
 
21320
  as_fn_error $? "USB support for grub-emu was explicitly requested but can't be compiled" "$LINENO" 5
21306
21321
fi
21307
21322
if test x"$grub_emu_usb_excuse" = x ; then
21308
21323
enable_grub_emu_usb=yes
21317
21332
    # Check for libSDL libraries.
21318
21333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL" >&5
21319
21334
$as_echo_n "checking for SDL_Init in -lSDL... " >&6; }
21320
 
if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then :
 
21335
if ${ac_cv_lib_SDL_SDL_Init+:} false; then :
21321
21336
  $as_echo_n "(cached) " >&6
21322
21337
else
21323
21338
  ac_check_lib_save_LIBS=$LIBS
21351
21366
fi
21352
21367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_SDL_Init" >&5
21353
21368
$as_echo "$ac_cv_lib_SDL_SDL_Init" >&6; }
21354
 
if test "x$ac_cv_lib_SDL_SDL_Init" = x""yes; then :
 
21369
if test "x$ac_cv_lib_SDL_SDL_Init" = xyes; then :
21355
21370
  LIBSDL="-lSDL"
21356
21371
else
21357
21372
  grub_emu_sdl_excuse="libSDL libraries are required to build \`grub-emu' with SDL support"
21365
21380
    for ac_header in SDL/SDL.h
21366
21381
do :
21367
21382
  ac_fn_c_check_header_mongrel "$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default"
21368
 
if test "x$ac_cv_header_SDL_SDL_h" = x""yes; then :
 
21383
if test "x$ac_cv_header_SDL_SDL_h" = xyes; then :
21369
21384
  cat >>confdefs.h <<_ACEOF
21370
21385
@%:@define HAVE_SDL_SDL_H 1
21371
21386
_ACEOF
21379
21394
fi
21380
21395
 
21381
21396
if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; then
21382
 
  as_fn_error $? "SDL support for grub-emu was explicitely requested but can't be compiled" "$LINENO" 5 
 
21397
  as_fn_error $? "SDL support for grub-emu was explicitely requested but can't be compiled" "$LINENO" 5
21383
21398
fi
21384
21399
if test x"$grub_emu_sdl_excuse" = x ; then
21385
21400
enable_grub_emu_sdl=yes
21399
21414
      # Check for libpci libraries.
21400
21415
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_system_init in -lpciaccess" >&5
21401
21416
$as_echo_n "checking for pci_system_init in -lpciaccess... " >&6; }
21402
 
if test "${ac_cv_lib_pciaccess_pci_system_init+set}" = set; then :
 
21417
if ${ac_cv_lib_pciaccess_pci_system_init+:} false; then :
21403
21418
  $as_echo_n "(cached) " >&6
21404
21419
else
21405
21420
  ac_check_lib_save_LIBS=$LIBS
21433
21448
fi
21434
21449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pciaccess_pci_system_init" >&5
21435
21450
$as_echo "$ac_cv_lib_pciaccess_pci_system_init" >&6; }
21436
 
if test "x$ac_cv_lib_pciaccess_pci_system_init" = x""yes; then :
 
21451
if test "x$ac_cv_lib_pciaccess_pci_system_init" = xyes; then :
21437
21452
  LIBPCIACCESS="-lpciaccess"
21438
21453
else
21439
21454
  grub_emu_pci_excuse="need libpciaccess library"
21446
21461
    for ac_header in pci/pci.h
21447
21462
do :
21448
21463
  ac_fn_c_check_header_mongrel "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default"
21449
 
if test "x$ac_cv_header_pci_pci_h" = x""yes; then :
 
21464
if test "x$ac_cv_header_pci_pci_h" = xyes; then :
21450
21465
  cat >>confdefs.h <<_ACEOF
21451
21466
@%:@define HAVE_PCI_PCI_H 1
21452
21467
_ACEOF
21488
21503
set dummy $ac_prog; ac_word=$2
21489
21504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21490
21505
$as_echo_n "checking for $ac_word... " >&6; }
21491
 
if test "${ac_cv_prog_FREETYPE+set}" = set; then :
 
21506
if ${ac_cv_prog_FREETYPE+:} false; then :
21492
21507
  $as_echo_n "(cached) " >&6
21493
21508
else
21494
21509
  if test -n "$FREETYPE"; then
21538
21553
  for ac_header in ft2build.h
21539
21554
do :
21540
21555
  ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
21541
 
if test "x$ac_cv_header_ft2build_h" = x""yes; then :
 
21556
if test "x$ac_cv_header_ft2build_h" = xyes; then :
21542
21557
  cat >>confdefs.h <<_ACEOF
21543
21558
@%:@define HAVE_FT2BUILD_H 1
21544
21559
_ACEOF
21553
21568
fi
21554
21569
 
21555
21570
if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then
21556
 
  as_fn_error $? "grub-mkfont was explicitly requested but can't be compiled" "$LINENO" 5 
 
21571
  as_fn_error $? "grub-mkfont was explicitly requested but can't be compiled" "$LINENO" 5
21557
21572
fi
21558
21573
if test x"$grub_mkfont_excuse" = x ; then
21559
21574
enable_grub_mkfont=yes
21576
21591
if test x"$device_mapper_excuse" = x ; then
21577
21592
  # Check for device-mapper header.
21578
21593
  ac_fn_c_check_header_mongrel "$LINENO" "libdevmapper.h" "ac_cv_header_libdevmapper_h" "$ac_includes_default"
21579
 
if test "x$ac_cv_header_libdevmapper_h" = x""yes; then :
 
21594
if test "x$ac_cv_header_libdevmapper_h" = xyes; then :
21580
21595
  
21581
21596
else
21582
21597
  device_mapper_excuse="need libdevmapper header"
21589
21604
  # Check for device-mapper library.
21590
21605
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_task_create in -ldevmapper" >&5
21591
21606
$as_echo_n "checking for dm_task_create in -ldevmapper... " >&6; }
21592
 
if test "${ac_cv_lib_devmapper_dm_task_create+set}" = set; then :
 
21607
if ${ac_cv_lib_devmapper_dm_task_create+:} false; then :
21593
21608
  $as_echo_n "(cached) " >&6
21594
21609
else
21595
21610
  ac_check_lib_save_LIBS=$LIBS
21623
21638
fi
21624
21639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_task_create" >&5
21625
21640
$as_echo "$ac_cv_lib_devmapper_dm_task_create" >&6; }
21626
 
if test "x$ac_cv_lib_devmapper_dm_task_create" = x""yes; then :
 
21641
if test "x$ac_cv_lib_devmapper_dm_task_create" = xyes; then :
21627
21642
  cat >>confdefs.h <<_ACEOF
21628
21643
@%:@define HAVE_LIBDEVMAPPER 1
21629
21644
_ACEOF
21640
21655
  # Check for device-mapper library.
21641
21656
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_log_with_errno_init in -ldevmapper" >&5
21642
21657
$as_echo_n "checking for dm_log_with_errno_init in -ldevmapper... " >&6; }
21643
 
if test "${ac_cv_lib_devmapper_dm_log_with_errno_init+set}" = set; then :
 
21658
if ${ac_cv_lib_devmapper_dm_log_with_errno_init+:} false; then :
21644
21659
  $as_echo_n "(cached) " >&6
21645
21660
else
21646
21661
  ac_check_lib_save_LIBS=$LIBS
21674
21689
fi
21675
21690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_log_with_errno_init" >&5
21676
21691
$as_echo "$ac_cv_lib_devmapper_dm_log_with_errno_init" >&6; }
21677
 
if test "x$ac_cv_lib_devmapper_dm_log_with_errno_init" = x""yes; then :
 
21692
if test "x$ac_cv_lib_devmapper_dm_log_with_errno_init" = xyes; then :
21678
21693
  cat >>confdefs.h <<_ACEOF
21679
21694
@%:@define HAVE_LIBDEVMAPPER 1
21680
21695
_ACEOF
21696
21711
 
21697
21712
 
21698
21713
 
 
21714
LIBGEOM=
 
21715
if test x$host_kernel = xkfreebsd; then
 
21716
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geom_gettree in -lgeom" >&5
 
21717
$as_echo_n "checking for geom_gettree in -lgeom... " >&6; }
 
21718
if ${ac_cv_lib_geom_geom_gettree+:} false; then :
 
21719
  $as_echo_n "(cached) " >&6
 
21720
else
 
21721
  ac_check_lib_save_LIBS=$LIBS
 
21722
LIBS="-lgeom  $LIBS"
 
21723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21724
/* end confdefs.h.  */
 
21725
 
 
21726
/* Override any GCC internal prototype to avoid an error.
 
21727
   Use char because int might match the return type of a GCC
 
21728
   builtin and then its argument prototype would still apply.  */
 
21729
#ifdef __cplusplus
 
21730
extern "C"
 
21731
#endif
 
21732
char geom_gettree ();
 
21733
int
 
21734
main (void)
 
21735
{
 
21736
return geom_gettree ();
 
21737
  ;
 
21738
  return 0;
 
21739
}
 
21740
_ACEOF
 
21741
if ac_fn_c_try_link "$LINENO"; then :
 
21742
  ac_cv_lib_geom_geom_gettree=yes
 
21743
else
 
21744
  ac_cv_lib_geom_geom_gettree=no
 
21745
fi
 
21746
rm -f core conftest.err conftest.$ac_objext \
 
21747
    conftest$ac_exeext conftest.$ac_ext
 
21748
LIBS=$ac_check_lib_save_LIBS
 
21749
fi
 
21750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_geom_geom_gettree" >&5
 
21751
$as_echo "$ac_cv_lib_geom_geom_gettree" >&6; }
 
21752
if test "x$ac_cv_lib_geom_geom_gettree" = xyes; then :
 
21753
  cat >>confdefs.h <<_ACEOF
 
21754
@%:@define HAVE_LIBGEOM 1
 
21755
_ACEOF
 
21756
 
 
21757
  LIBS="-lgeom $LIBS"
 
21758
 
 
21759
else
 
21760
  as_fn_error $? "Your platform requires libgeom" "$LINENO" 5
 
21761
fi
 
21762
 
 
21763
  LIBGEOM="-lgeom"
 
21764
fi
 
21765
 
 
21766
 
 
21767
 
21699
21768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
21700
21769
$as_echo_n "checking for lzma_code in -llzma... " >&6; }
21701
 
if test "${ac_cv_lib_lzma_lzma_code+set}" = set; then :
 
21770
if ${ac_cv_lib_lzma_lzma_code+:} false; then :
21702
21771
  $as_echo_n "(cached) " >&6
21703
21772
else
21704
21773
  ac_check_lib_save_LIBS=$LIBS
21732
21801
fi
21733
21802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
21734
21803
$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
21735
 
if test "x$ac_cv_lib_lzma_lzma_code" = x""yes; then :
 
21804
if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
21736
21805
  LIBLZMA="-llzma"
21737
21806
              
21738
21807
$as_echo "@%:@define HAVE_LIBLZMA 1" >>confdefs.h
21743
21812
 
21744
21813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzfs_init in -lzfs" >&5
21745
21814
$as_echo_n "checking for libzfs_init in -lzfs... " >&6; }
21746
 
if test "${ac_cv_lib_zfs_libzfs_init+set}" = set; then :
 
21815
if ${ac_cv_lib_zfs_libzfs_init+:} false; then :
21747
21816
  $as_echo_n "(cached) " >&6
21748
21817
else
21749
21818
  ac_check_lib_save_LIBS=$LIBS
21777
21846
fi
21778
21847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zfs_libzfs_init" >&5
21779
21848
$as_echo "$ac_cv_lib_zfs_libzfs_init" >&6; }
21780
 
if test "x$ac_cv_lib_zfs_libzfs_init" = x""yes; then :
 
21849
if test "x$ac_cv_lib_zfs_libzfs_init" = xyes; then :
21781
21850
  LIBZFS="-lzfs"
21782
21851
              
21783
21852
$as_echo "@%:@define HAVE_LIBZFS 1" >>confdefs.h
21788
21857
 
21789
21858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nvlist_print in -lnvpair" >&5
21790
21859
$as_echo_n "checking for nvlist_print in -lnvpair... " >&6; }
21791
 
if test "${ac_cv_lib_nvpair_nvlist_print+set}" = set; then :
 
21860
if ${ac_cv_lib_nvpair_nvlist_print+:} false; then :
21792
21861
  $as_echo_n "(cached) " >&6
21793
21862
else
21794
21863
  ac_check_lib_save_LIBS=$LIBS
21822
21891
fi
21823
21892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nvpair_nvlist_print" >&5
21824
21893
$as_echo "$ac_cv_lib_nvpair_nvlist_print" >&6; }
21825
 
if test "x$ac_cv_lib_nvpair_nvlist_print" = x""yes; then :
 
21894
if test "x$ac_cv_lib_nvpair_nvlist_print" = xyes; then :
21826
21895
  LIBNVPAIR="-lnvpair"
21827
21896
              
21828
21897
$as_echo "@%:@define HAVE_LIBNVPAIR 1" >>confdefs.h
22214
22283
     :end' >>confcache
22215
22284
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22216
22285
  if test -w "$cache_file"; then
22217
 
    test "x$cache_file" != "x/dev/null" &&
 
22286
    if test "x$cache_file" != "x/dev/null"; then
22218
22287
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22219
22288
$as_echo "$as_me: updating cache $cache_file" >&6;}
22220
 
    cat confcache >$cache_file
 
22289
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
22290
        cat confcache >"$cache_file"
 
22291
      else
 
22292
        case $cache_file in #(
 
22293
        */* | ?:*)
 
22294
          mv -f confcache "$cache_file"$$ &&
 
22295
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
22296
        *)
 
22297
          mv -f confcache "$cache_file" ;;
 
22298
        esac
 
22299
      fi
 
22300
    fi
22221
22301
  else
22222
22302
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22223
22303
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22258
22338
 
22259
22339
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22260
22340
  as_fn_error $? "conditional \"AMDEP\" was never defined.
22261
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
22262
 
fi
22263
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22264
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22265
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
22266
 
fi
22267
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22268
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22269
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22341
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22342
fi
 
22343
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22344
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
22345
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22346
fi
 
22347
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22348
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
22349
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22270
22350
fi
22271
22351
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
22272
22352
  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
22273
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22353
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22274
22354
fi
22275
22355
 
22276
22356
if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
22277
22357
  as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
22278
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22358
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22279
22359
fi
22280
22360
 
22281
22361
    gl_libobjs=
22311
22391
  
22312
22392
if test -z "${COND_emu_TRUE}" && test -z "${COND_emu_FALSE}"; then
22313
22393
  as_fn_error $? "conditional \"COND_emu\" was never defined.
22314
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22394
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22315
22395
fi
22316
22396
if test -z "${COND_i386_pc_TRUE}" && test -z "${COND_i386_pc_FALSE}"; then
22317
22397
  as_fn_error $? "conditional \"COND_i386_pc\" was never defined.
22318
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22398
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22319
22399
fi
22320
22400
if test -z "${COND_i386_efi_TRUE}" && test -z "${COND_i386_efi_FALSE}"; then
22321
22401
  as_fn_error $? "conditional \"COND_i386_efi\" was never defined.
22322
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22402
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22323
22403
fi
22324
22404
if test -z "${COND_i386_qemu_TRUE}" && test -z "${COND_i386_qemu_FALSE}"; then
22325
22405
  as_fn_error $? "conditional \"COND_i386_qemu\" was never defined.
22326
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22406
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22327
22407
fi
22328
22408
if test -z "${COND_i386_ieee1275_TRUE}" && test -z "${COND_i386_ieee1275_FALSE}"; then
22329
22409
  as_fn_error $? "conditional \"COND_i386_ieee1275\" was never defined.
22330
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22410
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22331
22411
fi
22332
22412
if test -z "${COND_i386_coreboot_TRUE}" && test -z "${COND_i386_coreboot_FALSE}"; then
22333
22413
  as_fn_error $? "conditional \"COND_i386_coreboot\" was never defined.
22334
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22414
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22335
22415
fi
22336
22416
if test -z "${COND_i386_multiboot_TRUE}" && test -z "${COND_i386_multiboot_FALSE}"; then
22337
22417
  as_fn_error $? "conditional \"COND_i386_multiboot\" was never defined.
22338
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22418
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22339
22419
fi
22340
22420
if test -z "${COND_x86_64_efi_TRUE}" && test -z "${COND_x86_64_efi_FALSE}"; then
22341
22421
  as_fn_error $? "conditional \"COND_x86_64_efi\" was never defined.
22342
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22422
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22343
22423
fi
22344
22424
if test -z "${COND_mips_yeeloong_TRUE}" && test -z "${COND_mips_yeeloong_FALSE}"; then
22345
22425
  as_fn_error $? "conditional \"COND_mips_yeeloong\" was never defined.
22346
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22426
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22347
22427
fi
22348
22428
if test -z "${COND_mips_qemu_mips_TRUE}" && test -z "${COND_mips_qemu_mips_FALSE}"; then
22349
22429
  as_fn_error $? "conditional \"COND_mips_qemu_mips\" was never defined.
22350
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22430
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22351
22431
fi
22352
22432
if test -z "${COND_sparc64_ieee1275_TRUE}" && test -z "${COND_sparc64_ieee1275_FALSE}"; then
22353
22433
  as_fn_error $? "conditional \"COND_sparc64_ieee1275\" was never defined.
22354
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22434
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22355
22435
fi
22356
22436
if test -z "${COND_powerpc_ieee1275_TRUE}" && test -z "${COND_powerpc_ieee1275_FALSE}"; then
22357
22437
  as_fn_error $? "conditional \"COND_powerpc_ieee1275\" was never defined.
22358
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22438
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22359
22439
fi
22360
22440
if test -z "${COND_mips_TRUE}" && test -z "${COND_mips_FALSE}"; then
22361
22441
  as_fn_error $? "conditional \"COND_mips\" was never defined.
22362
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22442
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22363
22443
fi
22364
22444
if test -z "${COND_HOST_HURD_TRUE}" && test -z "${COND_HOST_HURD_FALSE}"; then
22365
22445
  as_fn_error $? "conditional \"COND_HOST_HURD\" was never defined.
22366
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22446
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22367
22447
fi
22368
22448
if test -z "${COND_HOST_LINUX_TRUE}" && test -z "${COND_HOST_LINUX_FALSE}"; then
22369
22449
  as_fn_error $? "conditional \"COND_HOST_LINUX\" was never defined.
22370
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22450
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22371
22451
fi
22372
22452
if test -z "${COND_HOST_NETBSD_TRUE}" && test -z "${COND_HOST_NETBSD_FALSE}"; then
22373
22453
  as_fn_error $? "conditional \"COND_HOST_NETBSD\" was never defined.
22374
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22454
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22375
22455
fi
22376
22456
if test -z "${COND_HOST_WINDOWS_TRUE}" && test -z "${COND_HOST_WINDOWS_FALSE}"; then
22377
22457
  as_fn_error $? "conditional \"COND_HOST_WINDOWS\" was never defined.
22378
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22458
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22379
22459
fi
22380
22460
if test -z "${COND_HOST_KFREEBSD_TRUE}" && test -z "${COND_HOST_KFREEBSD_FALSE}"; then
22381
22461
  as_fn_error $? "conditional \"COND_HOST_KFREEBSD\" was never defined.
22382
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22462
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22383
22463
fi
22384
22464
if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then
22385
22465
  as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined.
22386
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22466
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22387
22467
fi
22388
22468
if test -z "${COND_GRUB_EMU_USB_TRUE}" && test -z "${COND_GRUB_EMU_USB_FALSE}"; then
22389
22469
  as_fn_error $? "conditional \"COND_GRUB_EMU_USB\" was never defined.
22390
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22470
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22391
22471
fi
22392
22472
if test -z "${COND_GRUB_EMU_SDL_TRUE}" && test -z "${COND_GRUB_EMU_SDL_FALSE}"; then
22393
22473
  as_fn_error $? "conditional \"COND_GRUB_EMU_SDL\" was never defined.
22394
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22474
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22395
22475
fi
22396
22476
if test -z "${COND_GRUB_EMU_PCI_TRUE}" && test -z "${COND_GRUB_EMU_PCI_FALSE}"; then
22397
22477
  as_fn_error $? "conditional \"COND_GRUB_EMU_PCI\" was never defined.
22398
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22478
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22399
22479
fi
22400
22480
if test -z "${COND_GRUB_MKFONT_TRUE}" && test -z "${COND_GRUB_MKFONT_FALSE}"; then
22401
22481
  as_fn_error $? "conditional \"COND_GRUB_MKFONT\" was never defined.
22402
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22482
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22403
22483
fi
22404
22484
if test -z "${COND_HAVE_FONT_SOURCE_TRUE}" && test -z "${COND_HAVE_FONT_SOURCE_FALSE}"; then
22405
22485
  as_fn_error $? "conditional \"COND_HAVE_FONT_SOURCE\" was never defined.
22406
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22486
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22407
22487
fi
22408
22488
if test -z "${COND_GRUB_PE2ELF_TRUE}" && test -z "${COND_GRUB_PE2ELF_FALSE}"; then
22409
22489
  as_fn_error $? "conditional \"COND_GRUB_PE2ELF\" was never defined.
22410
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22490
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22411
22491
fi
22412
22492
if test -z "${COND_APPLE_CC_TRUE}" && test -z "${COND_APPLE_CC_FALSE}"; then
22413
22493
  as_fn_error $? "conditional \"COND_APPLE_CC\" was never defined.
22414
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22494
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22415
22495
fi
22416
22496
if test -z "${COND_ENABLE_EFIEMU_TRUE}" && test -z "${COND_ENABLE_EFIEMU_FALSE}"; then
22417
22497
  as_fn_error $? "conditional \"COND_ENABLE_EFIEMU\" was never defined.
22418
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22498
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22419
22499
fi
22420
22500
if test -z "${COND_HAVE_ASM_USCORE_TRUE}" && test -z "${COND_HAVE_ASM_USCORE_FALSE}"; then
22421
22501
  as_fn_error $? "conditional \"COND_HAVE_ASM_USCORE\" was never defined.
22422
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22502
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22423
22503
fi
22424
22504
if test -z "${COND_CYGWIN_TRUE}" && test -z "${COND_CYGWIN_FALSE}"; then
22425
22505
  as_fn_error $? "conditional \"COND_CYGWIN\" was never defined.
22426
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
22506
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22427
22507
fi
22428
22508
 
22429
 
: ${CONFIG_STATUS=./config.status}
 
22509
: "${CONFIG_STATUS=./config.status}"
22430
22510
ac_write_fail=0
22431
22511
ac_clean_files_save=$ac_clean_files
22432
22512
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22527
22607
IFS=" ""        $as_nl"
22528
22608
 
22529
22609
# Find who we are.  Look in the path if we contain no directory separator.
 
22610
as_myself=
22530
22611
case $0 in @%:@((
22531
22612
  *[\\/]* ) as_myself=$0 ;;
22532
22613
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22833
22914
# report actual input values of CONFIG_FILES etc. instead of their
22834
22915
# values after options handling.
22835
22916
ac_log="
22836
 
This file was extended by GRUB $as_me 1.99~rc1, which was
22837
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
22917
This file was extended by GRUB $as_me 1.99, which was
 
22918
generated by GNU Autoconf 2.68.  Invocation command line was
22838
22919
 
22839
22920
  CONFIG_FILES    = $CONFIG_FILES
22840
22921
  CONFIG_HEADERS  = $CONFIG_HEADERS
22903
22984
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22904
22985
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22905
22986
ac_cs_version="\\
22906
 
GRUB config.status 1.99~rc1
22907
 
configured by $0, generated by GNU Autoconf 2.67,
 
22987
GRUB config.status 1.99
 
22988
configured by $0, generated by GNU Autoconf 2.68,
22908
22989
  with options \\"\$ac_cs_config\\"
22909
22990
 
22910
22991
Copyright (C) 2010 Free Software Foundation, Inc.
23053
23134
    "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
23054
23135
    "config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;;
23055
23136
 
23056
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
23137
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23057
23138
  esac
23058
23139
done
23059
23140
 
23077
23158
# after its creation but before its name has been assigned to `$tmp'.
23078
23159
$debug ||
23079
23160
{
23080
 
  tmp=
 
23161
  tmp= ac_tmp=
23081
23162
  trap 'exit_status=$?
23082
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23163
  : "${ac_tmp:=$tmp}"
 
23164
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23083
23165
' 0
23084
23166
  trap 'as_fn_exit 1' 1 2 13 15
23085
23167
}
23087
23169
 
23088
23170
{
23089
23171
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23090
 
  test -n "$tmp" && test -d "$tmp"
 
23172
  test -d "$tmp"
23091
23173
}  ||
23092
23174
{
23093
23175
  tmp=./conf$$-$RANDOM
23094
23176
  (umask 077 && mkdir "$tmp")
23095
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
 
23177
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
23178
ac_tmp=$tmp
23096
23179
 
23097
23180
# Set up the scripts for CONFIG_FILES section.
23098
23181
# No need to generate them if there are no CONFIG_FILES.
23114
23197
  ac_cs_awk_cr=$ac_cr
23115
23198
fi
23116
23199
 
23117
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
23200
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23118
23201
_ACEOF
23119
23202
 
23120
23203
 
23123
23206
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23124
23207
  echo "_ACEOF"
23125
23208
} >conf$$subs.sh ||
23126
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
 
23209
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23127
23210
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23128
23211
ac_delim='%!_!# '
23129
23212
for ac_last_try in false false false false false :; do
23130
23213
  . ./conf$$subs.sh ||
23131
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
 
23214
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23132
23215
 
23133
23216
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23134
23217
  if test $ac_delim_n = $ac_delim_num; then
23135
23218
    break
23136
23219
  elif $ac_last_try; then
23137
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
 
23220
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23138
23221
  else
23139
23222
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23140
23223
  fi
23142
23225
rm -f conf$$subs.sh
23143
23226
 
23144
23227
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23145
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
23228
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23146
23229
_ACEOF
23147
23230
sed -n '
23148
23231
h
23190
23273
rm -f conf$$subs.awk
23191
23274
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23192
23275
_ACAWK
23193
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
23276
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23194
23277
  for (key in S) S_is_set[key] = 1
23195
23278
  FS = ""
23196
23279
 
23222
23305
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23223
23306
else
23224
23307
  cat
23225
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
23226
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
 
23308
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
23309
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23227
23310
_ACEOF
23228
23311
 
23229
23312
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23256
23339
# No need to generate them if there are no CONFIG_HEADERS.
23257
23340
# This happens for instance with `./config.status Makefile'.
23258
23341
if test -n "$CONFIG_HEADERS"; then
23259
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
23342
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23260
23343
BEGIN {
23261
23344
_ACEOF
23262
23345
 
23268
23351
# handling of long lines.
23269
23352
ac_delim='%!_!# '
23270
23353
for ac_last_try in false false :; do
23271
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
23272
 
  if test -z "$ac_t"; then
 
23354
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
23355
  if test -z "$ac_tt"; then
23273
23356
    break
23274
23357
  elif $ac_last_try; then
23275
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 
 
23358
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23276
23359
  else
23277
23360
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23278
23361
  fi
23357
23440
_ACAWK
23358
23441
_ACEOF
23359
23442
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23360
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 
 
23443
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23361
23444
fi # test -n "$CONFIG_HEADERS"
23362
23445
 
23363
23446
 
23370
23453
  esac
23371
23454
  case $ac_mode$ac_tag in
23372
23455
  :[FHL]*:*);;
23373
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
23456
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23374
23457
  :[FH]-) ac_tag=-:-;;
23375
23458
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23376
23459
  esac
23389
23472
    for ac_f
23390
23473
    do
23391
23474
      case $ac_f in
23392
 
      -) ac_f="$tmp/stdin";;
 
23475
      -) ac_f="$ac_tmp/stdin";;
23393
23476
      *) # Look for the file first in the build tree, then in the source tree
23394
23477
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
23395
23478
         # because $ac_f cannot contain `:'.
23398
23481
           [\\/$]*) false;;
23399
23482
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23400
23483
           esac ||
23401
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
23484
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23402
23485
      esac
23403
23486
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23404
23487
      as_fn_append ac_file_inputs " '$ac_f'"
23424
23507
    esac
23425
23508
 
23426
23509
    case $ac_tag in
23427
 
    *:-:* | *:-) cat >"$tmp/stdin" \
23428
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
23510
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
23511
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23429
23512
    esac
23430
23513
    ;;
23431
23514
  esac
23561
23644
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23562
23645
$ac_datarootdir_hack
23563
23646
"
23564
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
23565
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
 
23647
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
23648
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23566
23649
 
23567
23650
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23568
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23569
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23651
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
23652
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
23653
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
23570
23654
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23571
23655
which seems to be undefined.  Please make sure it is defined" >&5
23572
23656
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23573
23657
which seems to be undefined.  Please make sure it is defined" >&2;}
23574
23658
 
23575
 
  rm -f "$tmp/stdin"
 
23659
  rm -f "$ac_tmp/stdin"
23576
23660
  case $ac_file in
23577
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
23578
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
23661
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
23662
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23579
23663
  esac \
23580
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
 
23664
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23581
23665
 ;;
23582
23666
  :H)
23583
23667
  #
23586
23670
  if test x"$ac_file" != x-; then
23587
23671
    {
23588
23672
      $as_echo "/* $configure_input  */" \
23589
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23590
 
    } >"$tmp/config.h" \
23591
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
23592
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
23673
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
23674
    } >"$ac_tmp/config.h" \
 
23675
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
23676
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23593
23677
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23594
23678
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23595
23679
    else
23596
23680
      rm -f "$ac_file"
23597
 
      mv "$tmp/config.h" "$ac_file" \
23598
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
 
23681
      mv "$ac_tmp/config.h" "$ac_file" \
 
23682
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23599
23683
    fi
23600
23684
  else
23601
23685
    $as_echo "/* $configure_input  */" \
23602
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23603
 
      || as_fn_error $? "could not create -" "$LINENO" 5 
 
23686
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
23687
      || as_fn_error $? "could not create -" "$LINENO" 5
23604
23688
  fi
23605
23689
# Compute "$ac_file"'s index in $config_headers.
23606
23690
_am_arg="$ac_file"
23654
23738
$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
23655
23739
 
23656
23740
    if test ! -r "$ac_source"; then
23657
 
      as_fn_error $? "$ac_source: file not found" "$LINENO" 5 
 
23741
      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23658
23742
    fi
23659
23743
    rm -f "$ac_file"
23660
23744
 
23666
23750
    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23667
23751
      ln "$ac_source" "$ac_file" 2>/dev/null ||
23668
23752
      cp -p "$ac_source" "$ac_file" ||
23669
 
      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 
 
23753
      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23670
23754
  fi
23671
23755
 ;;
23672
23756
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23895
23979
ac_clean_files=$ac_clean_files_save
23896
23980
 
23897
23981
test $ac_write_fail = 0 ||
23898
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
 
23982
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23899
23983
 
23900
23984
 
23901
23985
# configure is writing to config.log, and then calls config.status.