home *** CD-ROM | disk | FTP | other *** search
/ Programming Win32 Under the API / ProgrammingWin32UnderTheApiPatVillani.iso / patches / gcc-2_95_2-x86-win32-patches.zi / gcc-2.95.2-patches / broken-down / gcc-2.95.2-win32-registry.diff < prev    next >
Encoding:
Text File  |  1999-11-08  |  70.0 KB  |  1,900 lines

  1. Fri Aug 13 11:18:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
  2.  
  3.     * configure.in: Handle --disable/enable-win32-registry.
  4.     * install.texi: Document --disable/enable-win32-registry.
  5.     * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
  6.     (WIN32_REGISTRY_KEY): New macro.
  7.     * prefix.c: Use to enable/disable win32-specific code.
  8.     (lookup_key): Use versioned key.
  9.     * configure: Regenerate.
  10.     * config.in: Likewise.
  11.  
  12. Index: gcc-2.95.2/gcc/configure.in
  13. ===================================================================
  14. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/configure.in,v
  15. retrieving revision 1.1.1.1
  16. diff -u -3 -p -r1.1.1.1 configure.in
  17. --- gcc-2.95.2/gcc/configure.in    1999/11/05 01:09:41    1.1.1.1
  18. +++ gcc-2.95.2/gcc/configure.in    1999/11/05 08:13:37
  19. @@ -3738,6 +3738,46 @@ AC_ARG_ENABLE(nls,
  20.  AM_GNU_GETTEXT
  21.  XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
  22.  
  23. +# Windows32 Registry support for specifying GCC installation paths. 
  24. +AC_ARG_ENABLE(win32-registry,
  25. +[  --disable-win32-registry 
  26. +                          Disable lookup of installation paths in the 
  27. +              Registry on Windows hosts.
  28. +  --enable-win32-registry Enable registry lookup (default).
  29. +  --enable-win32-registry=KEY
  30. +                          Use KEY instead of GCC version as the last portion
  31. +              of the registry key.],,)
  32. +
  33. +AC_MSG_CHECKING(whether windows registry support is requested)
  34. +if test x$enable_win32_registry != xno; then
  35. +  AC_DEFINE(ENABLE_WIN32_REGISTRY)
  36. +  AC_MSG_RESULT(yes)
  37. +else
  38. +  AC_MSG_RESULT(no)
  39. +fi
  40. +
  41. +# Check if user specified a different registry key.
  42. +case x${enable_win32_registry} in
  43. +x | xyes)
  44. +  # default.
  45. +  gcc_cv_win32_registry_key="$VERSION"
  46. +  ;;
  47. +xno)
  48. +  # no registry lookup.
  49. +  gcc_cv_win32_registry_key=''
  50. +  ;;
  51. +*)
  52. +  # user-specified key.
  53. +  gcc_cv_win32_registry_key="$enable_win32_registry"
  54. +  ;;
  55. +esac
  56. +
  57. +if test x$enable_win32_registry != xno; then
  58. +  AC_MSG_CHECKING(registry key on windows hosts)
  59. +  AC_DEFINE_UNQUOTED(WIN32_REGISTRY_KEY, "$gcc_cv_win32_registry_key")
  60. +  AC_MSG_RESULT($gcc_cv_win32_registry_key)
  61. +fi
  62. +
  63.  # Get an absolute path to the GCC top-level source directory
  64.  holddir=`pwd`
  65.  cd $srcdir
  66. Index: gcc-2.95.2/gcc/install.texi
  67. ===================================================================
  68. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/install.texi,v
  69. retrieving revision 1.1.1.1
  70. diff -u -3 -p -r1.1.1.1 install.texi
  71. --- gcc-2.95.2/gcc/install.texi    1999/11/05 01:09:43    1.1.1.1
  72. +++ gcc-2.95.2/gcc/install.texi    1999/11/05 08:13:37
  73. @@ -305,6 +305,25 @@ inferior @code{catgets} interface, the G
  74.  ignores @code{catgets} and instead uses GCC's copy of the GNU
  75.  @code{gettext} library.  The @samp{--with-catgets} option causes the
  76.  build procedure to use the host's @code{catgets} in this situation.
  77. +
  78. +@cindex Windows32 Registry support
  79. +@item --enable-win32-registry
  80. +@itemx --enable-win32-registry=@var{KEY}
  81. +@itemx --disable-win32-registry
  82. +The @samp{--enable-win32-registry} option enables Windows-hosted GCC
  83. +to look up installations paths in the registry using the following key:
  84. +
  85. +@smallexample
  86. +@code{HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\<KEY>}
  87. +@end smallexample
  88. +
  89. +<KEY> defaults to GCC version number, and can be overridden by the
  90. +@code{--enable-win32-registry=KEY} option. Vendors and distributors
  91. +who use custom installers are encouraged to provide a different key,
  92. +perhaps one comprised of vendor name and GCC version number, to
  93. +avoid conflict with existing installations. This feature is enabled 
  94. +by default, and can be disabled by @code{--disable-win32-registry}
  95. +option.  This option has no effect on the other hosts.
  96.  @end table
  97.  
  98.  @item
  99. Index: gcc-2.95.2/gcc/acconfig.h
  100. ===================================================================
  101. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/acconfig.h,v
  102. retrieving revision 1.1.1.1
  103. diff -u -3 -p -r1.1.1.1 acconfig.h
  104. --- gcc-2.95.2/gcc/acconfig.h    1999/11/05 01:09:41    1.1.1.1
  105. +++ gcc-2.95.2/gcc/acconfig.h    1999/11/05 08:13:37
  106. @@ -10,6 +10,13 @@
  107.  /* Define to 1 if NLS is requested.  */
  108.  #undef ENABLE_NLS
  109.  
  110. +/* Define to 1 if installation paths should be looked up in Windows32 
  111. +   Registry. Ignored on non windows32 hosts. */
  112. +#undef ENABLE_WIN32_REGISTRY
  113. +
  114. +/* Define to be the last portion of registry key on windows hosts.  */
  115. +#undef WIN32_REGISTRY_KEY
  116. +
  117.  /* Define as 1 if you have catgets and don't want to use GNU gettext.  */
  118.  #undef HAVE_CATGETS
  119.  
  120. Index: gcc-2.95.2/gcc/configure
  121. ===================================================================
  122. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/configure,v
  123. retrieving revision 1.1.1.1
  124. diff -u -3 -p -r1.1.1.1 configure
  125. --- gcc-2.95.2/gcc/configure    1999/11/05 01:09:41    1.1.1.1
  126. +++ gcc-2.95.2/gcc/configure    1999/11/05 08:13:37
  127. @@ -69,6 +69,14 @@ ac_help="$ac_help
  128.    --with-included-gettext use the GNU gettext library included here"
  129.  ac_help="$ac_help
  130.    --with-catgets          use catgets functions if available"
  131. +ac_help="$ac_help
  132. +  --disable-win32-registry 
  133. +                          Disable lookup of installation paths in the 
  134. +              Registry on Windows hosts.
  135. +  --enable-win32-registry Enable registry lookup (default).
  136. +  --enable-win32-registry=KEY
  137. +                          Use KEY instead of GCC version as the last portion
  138. +              of the registry key."
  139.  
  140.  # Initialize some variables set by options.
  141.  # The variables have the same names as the options, with
  142. @@ -595,7 +603,7 @@ copy=cp
  143.  # - two terminals occur directly after each other
  144.  # - the path contains an element with a dot in it
  145.  echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6
  146. -echo "configure:599: checking LIBRARY_PATH variable" >&5
  147. +echo "configure:607: checking LIBRARY_PATH variable" >&5
  148.  case ${LIBRARY_PATH} in
  149.    [:\;]* | *[:\;] | *[:\;][:\;]* |  *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
  150.      library_path_setting="contains current directory"
  151. @@ -620,7 +628,7 @@ fi
  152.  # - two terminals occur directly after each other
  153.  # - the path contains an element with a dot in it
  154.  echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6
  155. -echo "configure:624: checking GCC_EXEC_PREFIX variable" >&5
  156. +echo "configure:632: checking GCC_EXEC_PREFIX variable" >&5
  157.  case ${GCC_EXEC_PREFIX} in
  158.    [:\;]* | *[:\;] | *[:\;][:\;]* |  *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
  159.      gcc_exec_prefix_setting="contains current directory"
  160. @@ -961,7 +969,7 @@ else { echo "configure: error: can not r
  161.  fi
  162.  
  163.  echo $ac_n "checking host system type""... $ac_c" 1>&6
  164. -echo "configure:965: checking host system type" >&5
  165. +echo "configure:973: checking host system type" >&5
  166.  
  167.  host_alias=$host
  168.  case "$host_alias" in
  169. @@ -982,7 +990,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
  170.  echo "$ac_t""$host" 1>&6
  171.  
  172.  echo $ac_n "checking target system type""... $ac_c" 1>&6
  173. -echo "configure:986: checking target system type" >&5
  174. +echo "configure:994: checking target system type" >&5
  175.  
  176.  target_alias=$target
  177.  case "$target_alias" in
  178. @@ -1000,7 +1008,7 @@ target_os=`echo $target | sed 's/^\([^-]
  179.  echo "$ac_t""$target" 1>&6
  180.  
  181.  echo $ac_n "checking build system type""... $ac_c" 1>&6
  182. -echo "configure:1004: checking build system type" >&5
  183. +echo "configure:1012: checking build system type" >&5
  184.  
  185.  build_alias=$build
  186.  case "$build_alias" in
  187. @@ -1027,7 +1035,7 @@ test "$host_alias" != "$target_alias" &&
  188.  # Extract the first word of "gcc", so it can be a program name with args.
  189.  set dummy gcc; ac_word=$2
  190.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  191. -echo "configure:1031: checking for $ac_word" >&5
  192. +echo "configure:1039: checking for $ac_word" >&5
  193.  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  194.    echo $ac_n "(cached) $ac_c" 1>&6
  195.  else
  196. @@ -1057,7 +1065,7 @@ if test -z "$CC"; then
  197.    # Extract the first word of "cc", so it can be a program name with args.
  198.  set dummy cc; ac_word=$2
  199.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  200. -echo "configure:1061: checking for $ac_word" >&5
  201. +echo "configure:1069: checking for $ac_word" >&5
  202.  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  203.    echo $ac_n "(cached) $ac_c" 1>&6
  204.  else
  205. @@ -1108,7 +1116,7 @@ fi
  206.        # Extract the first word of "cl", so it can be a program name with args.
  207.  set dummy cl; ac_word=$2
  208.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  209. -echo "configure:1112: checking for $ac_word" >&5
  210. +echo "configure:1120: checking for $ac_word" >&5
  211.  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  212.    echo $ac_n "(cached) $ac_c" 1>&6
  213.  else
  214. @@ -1140,7 +1148,7 @@ fi
  215.  fi
  216.  
  217.  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  218. -echo "configure:1144: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  219. +echo "configure:1152: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  220.  
  221.  ac_ext=c
  222.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  223. @@ -1151,12 +1159,12 @@ cross_compiling=$ac_cv_prog_cc_cross
  224.  
  225.  cat > conftest.$ac_ext << EOF
  226.  
  227. -#line 1155 "configure"
  228. +#line 1163 "configure"
  229.  #include "confdefs.h"
  230.  
  231.  main(){return(0);}
  232.  EOF
  233. -if { (eval echo configure:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  234. +if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  235.    ac_cv_prog_cc_works=yes
  236.    # If we can't run a trivial program, we are probably using a cross compiler.
  237.    if (./conftest; exit) 2>/dev/null; then
  238. @@ -1182,12 +1190,12 @@ if test $ac_cv_prog_cc_works = no; then
  239.    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  240.  fi
  241.  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  242. -echo "configure:1186: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  243. +echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  244.  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  245.  cross_compiling=$ac_cv_prog_cc_cross
  246.  
  247.  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  248. -echo "configure:1191: checking whether we are using GNU C" >&5
  249. +echo "configure:1199: checking whether we are using GNU C" >&5
  250.  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  251.    echo $ac_n "(cached) $ac_c" 1>&6
  252.  else
  253. @@ -1196,7 +1204,7 @@ else
  254.    yes;
  255.  #endif
  256.  EOF
  257. -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  258. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  259.    ac_cv_prog_gcc=yes
  260.  else
  261.    ac_cv_prog_gcc=no
  262. @@ -1215,7 +1223,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
  263.  ac_save_CFLAGS="$CFLAGS"
  264.  CFLAGS=
  265.  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  266. -echo "configure:1219: checking whether ${CC-cc} accepts -g" >&5
  267. +echo "configure:1227: checking whether ${CC-cc} accepts -g" >&5
  268.  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  269.    echo $ac_n "(cached) $ac_c" 1>&6
  270.  else
  271. @@ -1258,7 +1266,7 @@ fi
  272.  
  273.  
  274.  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  275. -echo "configure:1262: checking whether ${MAKE-make} sets \${MAKE}" >&5
  276. +echo "configure:1270: checking whether ${MAKE-make} sets \${MAKE}" >&5
  277.  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  278.  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  279.    echo $ac_n "(cached) $ac_c" 1>&6
  280. @@ -1286,7 +1294,7 @@ fi
  281.  
  282.  
  283.  echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6
  284. -echo "configure:1290: checking whether a default assembler was specified" >&5
  285. +echo "configure:1298: checking whether a default assembler was specified" >&5
  286.  if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
  287.      if test x"$gas_flag" = x"no"; then
  288.          echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6
  289. @@ -1298,7 +1306,7 @@ else
  290.  fi
  291.  
  292.  echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6
  293. -echo "configure:1302: checking whether a default linker was specified" >&5
  294. +echo "configure:1310: checking whether a default linker was specified" >&5
  295.  if test x"${DEFAULT_LINKER+set}" = x"set"; then
  296.      if test x"$gnu_ld_flag" = x"no"; then
  297.      echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6
  298. @@ -1310,12 +1318,12 @@ else
  299.  fi
  300.  
  301.  # Find some useful tools
  302. -for ac_prog in gawk mawk nawk awk
  303. +for ac_prog in mawk gawk nawk awk
  304.  do
  305.  # Extract the first word of "$ac_prog", so it can be a program name with args.
  306.  set dummy $ac_prog; ac_word=$2
  307.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  308. -echo "configure:1319: checking for $ac_word" >&5
  309. +echo "configure:1327: checking for $ac_word" >&5
  310.  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  311.    echo $ac_n "(cached) $ac_c" 1>&6
  312.  else
  313. @@ -1347,7 +1355,7 @@ done
  314.  # Extract the first word of "flex", so it can be a program name with args.
  315.  set dummy flex; ac_word=$2
  316.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  317. -echo "configure:1351: checking for $ac_word" >&5
  318. +echo "configure:1359: checking for $ac_word" >&5
  319.  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
  320.    echo $ac_n "(cached) $ac_c" 1>&6
  321.  else
  322. @@ -1381,7 +1389,7 @@ then
  323.    *) ac_lib=l ;;
  324.    esac
  325.    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
  326. -echo "configure:1385: checking for yywrap in -l$ac_lib" >&5
  327. +echo "configure:1393: checking for yywrap in -l$ac_lib" >&5
  328.  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
  329.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  330.    echo $ac_n "(cached) $ac_c" 1>&6
  331. @@ -1389,7 +1397,7 @@ else
  332.    ac_save_LIBS="$LIBS"
  333.  LIBS="-l$ac_lib  $LIBS"
  334.  cat > conftest.$ac_ext <<EOF
  335. -#line 1393 "configure"
  336. +#line 1401 "configure"
  337.  #include "confdefs.h"
  338.  /* Override any gcc2 internal prototype to avoid an error.  */
  339.  /* We use char because int might match the return type of a gcc2
  340. @@ -1400,7 +1408,7 @@ int main() {
  341.  yywrap()
  342.  ; return 0; }
  343.  EOF
  344. -if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  345. +if { (eval echo configure:1412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  346.    rm -rf conftest*
  347.    eval "ac_cv_lib_$ac_lib_var=yes"
  348.  else
  349. @@ -1423,7 +1431,7 @@ fi
  350.  fi
  351.  
  352.  echo $ac_n "checking whether ln works""... $ac_c" 1>&6
  353. -echo "configure:1427: checking whether ln works" >&5
  354. +echo "configure:1435: checking whether ln works" >&5
  355.  if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
  356.    echo $ac_n "(cached) $ac_c" 1>&6
  357.  else
  358. @@ -1455,7 +1463,7 @@ else
  359.  fi
  360.  
  361.  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  362. -echo "configure:1459: checking whether ln -s works" >&5
  363. +echo "configure:1467: checking whether ln -s works" >&5
  364.  if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
  365.    echo $ac_n "(cached) $ac_c" 1>&6
  366.  else
  367. @@ -1487,19 +1495,19 @@ else
  368.  fi
  369.  
  370.  echo $ac_n "checking for volatile""... $ac_c" 1>&6
  371. -echo "configure:1491: checking for volatile" >&5
  372. +echo "configure:1499: checking for volatile" >&5
  373.  if eval "test \"`echo '$''{'gcc_cv_c_volatile'+set}'`\" = set"; then
  374.    echo $ac_n "(cached) $ac_c" 1>&6
  375.  else
  376.    cat > conftest.$ac_ext <<EOF
  377. -#line 1496 "configure"
  378. +#line 1504 "configure"
  379.  #include "confdefs.h"
  380.  
  381.  int main() {
  382.  volatile int foo;
  383.  ; return 0; }
  384.  EOF
  385. -if { (eval echo configure:1503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  386. +if { (eval echo configure:1511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  387.    rm -rf conftest*
  388.    gcc_cv_c_volatile=yes
  389.  else
  390. @@ -1522,7 +1530,7 @@ fi
  391.  # Extract the first word of "ranlib", so it can be a program name with args.
  392.  set dummy ranlib; ac_word=$2
  393.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  394. -echo "configure:1526: checking for $ac_word" >&5
  395. +echo "configure:1534: checking for $ac_word" >&5
  396.  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  397.    echo $ac_n "(cached) $ac_c" 1>&6
  398.  else
  399. @@ -1554,7 +1562,7 @@ do
  400.  # Extract the first word of "$ac_prog", so it can be a program name with args.
  401.  set dummy $ac_prog; ac_word=$2
  402.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  403. -echo "configure:1558: checking for $ac_word" >&5
  404. +echo "configure:1566: checking for $ac_word" >&5
  405.  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
  406.    echo $ac_n "(cached) $ac_c" 1>&6
  407.  else
  408. @@ -1595,7 +1603,7 @@ test -n "$YACC" || YACC="yacc"
  409.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  410.  # ./install, which can be erroneously created by make from ./install.sh.
  411.  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  412. -echo "configure:1599: checking for a BSD compatible install" >&5
  413. +echo "configure:1607: checking for a BSD compatible install" >&5
  414.  if test -z "$INSTALL"; then
  415.  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  416.    echo $ac_n "(cached) $ac_c" 1>&6
  417. @@ -1646,7 +1654,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
  418.  
  419.  
  420.  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  421. -echo "configure:1650: checking how to run the C preprocessor" >&5
  422. +echo "configure:1658: checking how to run the C preprocessor" >&5
  423.  # On Suns, sometimes $CPP names a directory.
  424.  if test -n "$CPP" && test -d "$CPP"; then
  425.    CPP=
  426. @@ -1661,13 +1669,13 @@ else
  427.    # On the NeXT, cc -E runs the code through the compiler's parser,
  428.    # not just through cpp.
  429.    cat > conftest.$ac_ext <<EOF
  430. -#line 1665 "configure"
  431. +#line 1673 "configure"
  432.  #include "confdefs.h"
  433.  #include <assert.h>
  434.  Syntax Error
  435.  EOF
  436.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  437. -{ (eval echo configure:1671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  438. +{ (eval echo configure:1679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  439.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  440.  if test -z "$ac_err"; then
  441.    :
  442. @@ -1678,13 +1686,13 @@ else
  443.    rm -rf conftest*
  444.    CPP="${CC-cc} -E -traditional-cpp"
  445.    cat > conftest.$ac_ext <<EOF
  446. -#line 1682 "configure"
  447. +#line 1690 "configure"
  448.  #include "confdefs.h"
  449.  #include <assert.h>
  450.  Syntax Error
  451.  EOF
  452.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  453. -{ (eval echo configure:1688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  454. +{ (eval echo configure:1696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  455.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  456.  if test -z "$ac_err"; then
  457.    :
  458. @@ -1695,13 +1703,13 @@ else
  459.    rm -rf conftest*
  460.    CPP="${CC-cc} -nologo -E"
  461.    cat > conftest.$ac_ext <<EOF
  462. -#line 1699 "configure"
  463. +#line 1707 "configure"
  464.  #include "confdefs.h"
  465.  #include <assert.h>
  466.  Syntax Error
  467.  EOF
  468.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  469. -{ (eval echo configure:1705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  470. +{ (eval echo configure:1713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  471.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  472.  if test -z "$ac_err"; then
  473.    :
  474. @@ -1726,12 +1734,12 @@ fi
  475.  echo "$ac_t""$CPP" 1>&6
  476.  
  477.  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  478. -echo "configure:1730: checking for ANSI C header files" >&5
  479. +echo "configure:1738: checking for ANSI C header files" >&5
  480.  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  481.    echo $ac_n "(cached) $ac_c" 1>&6
  482.  else
  483.    cat > conftest.$ac_ext <<EOF
  484. -#line 1735 "configure"
  485. +#line 1743 "configure"
  486.  #include "confdefs.h"
  487.  #include <stdlib.h>
  488.  #include <stdarg.h>
  489. @@ -1739,7 +1747,7 @@ else
  490.  #include <float.h>
  491.  EOF
  492.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  493. -{ (eval echo configure:1743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  494. +{ (eval echo configure:1751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  495.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  496.  if test -z "$ac_err"; then
  497.    rm -rf conftest*
  498. @@ -1756,7 +1764,7 @@ rm -f conftest*
  499.  if test $ac_cv_header_stdc = yes; then
  500.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  501.  cat > conftest.$ac_ext <<EOF
  502. -#line 1760 "configure"
  503. +#line 1768 "configure"
  504.  #include "confdefs.h"
  505.  #include <string.h>
  506.  EOF
  507. @@ -1774,7 +1782,7 @@ fi
  508.  if test $ac_cv_header_stdc = yes; then
  509.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  510.  cat > conftest.$ac_ext <<EOF
  511. -#line 1778 "configure"
  512. +#line 1786 "configure"
  513.  #include "confdefs.h"
  514.  #include <stdlib.h>
  515.  EOF
  516. @@ -1795,7 +1803,7 @@ if test "$cross_compiling" = yes; then
  517.    :
  518.  else
  519.    cat > conftest.$ac_ext <<EOF
  520. -#line 1799 "configure"
  521. +#line 1807 "configure"
  522.  #include "confdefs.h"
  523.  #include <ctype.h>
  524.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  525. @@ -1806,7 +1814,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  526.  exit (0); }
  527.  
  528.  EOF
  529. -if { (eval echo configure:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  530. +if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  531.  then
  532.    :
  533.  else
  534. @@ -1830,12 +1838,12 @@ EOF
  535.  fi
  536.  
  537.  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
  538. -echo "configure:1834: checking whether time.h and sys/time.h may both be included" >&5
  539. +echo "configure:1842: checking whether time.h and sys/time.h may both be included" >&5
  540.  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  541.    echo $ac_n "(cached) $ac_c" 1>&6
  542.  else
  543.    cat > conftest.$ac_ext <<EOF
  544. -#line 1839 "configure"
  545. +#line 1847 "configure"
  546.  #include "confdefs.h"
  547.  #include <sys/types.h>
  548.  #include <sys/time.h>
  549. @@ -1844,7 +1852,7 @@ int main() {
  550.  struct tm *tp;
  551.  ; return 0; }
  552.  EOF
  553. -if { (eval echo configure:1848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  554. +if { (eval echo configure:1856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  555.    rm -rf conftest*
  556.    ac_cv_header_time=yes
  557.  else
  558. @@ -1865,12 +1873,12 @@ EOF
  559.  fi
  560.  
  561.  echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
  562. -echo "configure:1869: checking whether string.h and strings.h may both be included" >&5
  563. +echo "configure:1877: checking whether string.h and strings.h may both be included" >&5
  564.  if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then
  565.    echo $ac_n "(cached) $ac_c" 1>&6
  566.  else
  567.    cat > conftest.$ac_ext <<EOF
  568. -#line 1874 "configure"
  569. +#line 1882 "configure"
  570.  #include "confdefs.h"
  571.  #include <string.h>
  572.  #include <strings.h>
  573. @@ -1878,7 +1886,7 @@ int main() {
  574.  
  575.  ; return 0; }
  576.  EOF
  577. -if { (eval echo configure:1882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  578. +if { (eval echo configure:1890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  579.    rm -rf conftest*
  580.    gcc_cv_header_string=yes
  581.  else
  582. @@ -1899,12 +1907,12 @@ EOF
  583.  fi
  584.  
  585.  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
  586. -echo "configure:1903: checking for sys/wait.h that is POSIX.1 compatible" >&5
  587. +echo "configure:1911: checking for sys/wait.h that is POSIX.1 compatible" >&5
  588.  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  589.    echo $ac_n "(cached) $ac_c" 1>&6
  590.  else
  591.    cat > conftest.$ac_ext <<EOF
  592. -#line 1908 "configure"
  593. +#line 1916 "configure"
  594.  #include "confdefs.h"
  595.  #include <sys/types.h>
  596.  #include <sys/wait.h>
  597. @@ -1920,7 +1928,7 @@ wait (&s);
  598.  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  599.  ; return 0; }
  600.  EOF
  601. -if { (eval echo configure:1924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  602. +if { (eval echo configure:1932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  603.    rm -rf conftest*
  604.    ac_cv_header_sys_wait_h=yes
  605.  else
  606. @@ -1944,17 +1952,17 @@ for ac_hdr in limits.h stddef.h string.h
  607.  do
  608.  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  609.  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  610. -echo "configure:1948: checking for $ac_hdr" >&5
  611. +echo "configure:1956: checking for $ac_hdr" >&5
  612.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  613.    echo $ac_n "(cached) $ac_c" 1>&6
  614.  else
  615.    cat > conftest.$ac_ext <<EOF
  616. -#line 1953 "configure"
  617. +#line 1961 "configure"
  618.  #include "confdefs.h"
  619.  #include <$ac_hdr>
  620.  EOF
  621.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  622. -{ (eval echo configure:1958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  623. +{ (eval echo configure:1966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  624.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  625.  if test -z "$ac_err"; then
  626.    rm -rf conftest*
  627. @@ -1984,17 +1992,17 @@ done
  628.  # Check for thread headers.
  629.  ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'`
  630.  echo $ac_n "checking for thread.h""... $ac_c" 1>&6
  631. -echo "configure:1988: checking for thread.h" >&5
  632. +echo "configure:1996: checking for thread.h" >&5
  633.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  634.    echo $ac_n "(cached) $ac_c" 1>&6
  635.  else
  636.    cat > conftest.$ac_ext <<EOF
  637. -#line 1993 "configure"
  638. +#line 2001 "configure"
  639.  #include "confdefs.h"
  640.  #include <thread.h>
  641.  EOF
  642.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  643. -{ (eval echo configure:1998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  644. +{ (eval echo configure:2006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  645.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  646.  if test -z "$ac_err"; then
  647.    rm -rf conftest*
  648. @@ -2018,17 +2026,17 @@ fi
  649.  
  650.  ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
  651.  echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
  652. -echo "configure:2022: checking for pthread.h" >&5
  653. +echo "configure:2030: checking for pthread.h" >&5
  654.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  655.    echo $ac_n "(cached) $ac_c" 1>&6
  656.  else
  657.    cat > conftest.$ac_ext <<EOF
  658. -#line 2027 "configure"
  659. +#line 2035 "configure"
  660.  #include "confdefs.h"
  661.  #include <pthread.h>
  662.  EOF
  663.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  664. -{ (eval echo configure:2032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  665. +{ (eval echo configure:2040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  666.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  667.  if test -z "$ac_err"; then
  668.    rm -rf conftest*
  669. @@ -2055,7 +2063,7 @@ fi
  670.  # Extract the first word of "gnatbind", so it can be a program name with args.
  671.  set dummy gnatbind; ac_word=$2
  672.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  673. -echo "configure:2059: checking for $ac_word" >&5
  674. +echo "configure:2067: checking for $ac_word" >&5
  675.  if eval "test \"`echo '$''{'ac_cv_prog_gnat'+set}'`\" = set"; then
  676.    echo $ac_n "(cached) $ac_c" 1>&6
  677.  else
  678. @@ -2086,12 +2094,12 @@ fi
  679.  # See if the system preprocessor understands the ANSI C preprocessor
  680.  # stringification operator.
  681.  echo $ac_n "checking whether cpp understands the stringify operator""... $ac_c" 1>&6
  682. -echo "configure:2090: checking whether cpp understands the stringify operator" >&5
  683. +echo "configure:2098: checking whether cpp understands the stringify operator" >&5
  684.  if eval "test \"`echo '$''{'gcc_cv_c_have_stringify'+set}'`\" = set"; then
  685.    echo $ac_n "(cached) $ac_c" 1>&6
  686.  else
  687.    cat > conftest.$ac_ext <<EOF
  688. -#line 2095 "configure"
  689. +#line 2103 "configure"
  690.  #include "confdefs.h"
  691.  
  692.  int main() {
  693. @@ -2099,7 +2107,7 @@ int main() {
  694.  char *test = S(foo);
  695.  ; return 0; }
  696.  EOF
  697. -if { (eval echo configure:2103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  698. +if { (eval echo configure:2111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  699.    rm -rf conftest*
  700.    gcc_cv_c_have_stringify=yes
  701.  else
  702. @@ -2122,12 +2130,12 @@ fi
  703.  # Use <inttypes.h> only if it exists,
  704.  # doesn't clash with <sys/types.h>, and declares intmax_t.
  705.  echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
  706. -echo "configure:2126: checking for inttypes.h" >&5
  707. +echo "configure:2134: checking for inttypes.h" >&5
  708.  if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
  709.    echo $ac_n "(cached) $ac_c" 1>&6
  710.  else
  711.    cat > conftest.$ac_ext <<EOF
  712. -#line 2131 "configure"
  713. +#line 2139 "configure"
  714.  #include "confdefs.h"
  715.  #include <sys/types.h>
  716.  #include <inttypes.h>
  717. @@ -2135,7 +2143,7 @@ int main() {
  718.  intmax_t i = -1;
  719.  ; return 0; }
  720.  EOF
  721. -if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  722. +if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  723.    rm -rf conftest*
  724.    gcc_cv_header_inttypes_h=yes
  725.  else
  726. @@ -2161,12 +2169,12 @@ for ac_func in strtoul bsearch strerror 
  727.      fputs_unlocked
  728.  do
  729.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  730. -echo "configure:2165: checking for $ac_func" >&5
  731. +echo "configure:2173: checking for $ac_func" >&5
  732.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  733.    echo $ac_n "(cached) $ac_c" 1>&6
  734.  else
  735.    cat > conftest.$ac_ext <<EOF
  736. -#line 2170 "configure"
  737. +#line 2178 "configure"
  738.  #include "confdefs.h"
  739.  /* System header to define __stub macros and hopefully few prototypes,
  740.      which can conflict with char $ac_func(); below.  */
  741. @@ -2189,7 +2197,7 @@ $ac_func();
  742.  
  743.  ; return 0; }
  744.  EOF
  745. -if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  746. +if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  747.    rm -rf conftest*
  748.    eval "ac_cv_func_$ac_func=yes"
  749.  else
  750. @@ -2218,12 +2226,12 @@ done
  751.  #AC_CHECK_TYPE(wchar_t, unsigned int)
  752.  
  753.  echo $ac_n "checking for vprintf""... $ac_c" 1>&6
  754. -echo "configure:2222: checking for vprintf" >&5
  755. +echo "configure:2230: checking for vprintf" >&5
  756.  if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
  757.    echo $ac_n "(cached) $ac_c" 1>&6
  758.  else
  759.    cat > conftest.$ac_ext <<EOF
  760. -#line 2227 "configure"
  761. +#line 2235 "configure"
  762.  #include "confdefs.h"
  763.  /* System header to define __stub macros and hopefully few prototypes,
  764.      which can conflict with char vprintf(); below.  */
  765. @@ -2246,7 +2254,7 @@ vprintf();
  766.  
  767.  ; return 0; }
  768.  EOF
  769. -if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  770. +if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  771.    rm -rf conftest*
  772.    eval "ac_cv_func_vprintf=yes"
  773.  else
  774. @@ -2270,12 +2278,12 @@ fi
  775.  
  776.  if test "$ac_cv_func_vprintf" != yes; then
  777.  echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
  778. -echo "configure:2274: checking for _doprnt" >&5
  779. +echo "configure:2282: checking for _doprnt" >&5
  780.  if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
  781.    echo $ac_n "(cached) $ac_c" 1>&6
  782.  else
  783.    cat > conftest.$ac_ext <<EOF
  784. -#line 2279 "configure"
  785. +#line 2287 "configure"
  786.  #include "confdefs.h"
  787.  /* System header to define __stub macros and hopefully few prototypes,
  788.      which can conflict with char _doprnt(); below.  */
  789. @@ -2298,7 +2306,7 @@ _doprnt();
  790.  
  791.  ; return 0; }
  792.  EOF
  793. -if { (eval echo configure:2302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  794. +if { (eval echo configure:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  795.    rm -rf conftest*
  796.    eval "ac_cv_func__doprnt=yes"
  797.  else
  798. @@ -2334,7 +2342,7 @@ fi
  799.  
  800.  
  801.  echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
  802. -echo "configure:2338: checking whether the printf functions support %p" >&5
  803. +echo "configure:2346: checking whether the printf functions support %p" >&5
  804.  if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then
  805.    echo $ac_n "(cached) $ac_c" 1>&6
  806.  else
  807. @@ -2342,7 +2350,7 @@ else
  808.    gcc_cv_func_printf_ptr=no
  809.  else
  810.    cat > conftest.$ac_ext <<EOF
  811. -#line 2346 "configure"
  812. +#line 2354 "configure"
  813.  #include "confdefs.h"
  814.  #include <stdio.h>
  815.  
  816. @@ -2355,7 +2363,7 @@ main()
  817.    exit (p != q);
  818.  }
  819.  EOF
  820. -if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  821. +if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  822.  then
  823.    gcc_cv_func_printf_ptr=yes
  824.  else
  825. @@ -2388,12 +2396,12 @@ case "${host}" in
  826.    ;;
  827.  esac
  828.  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
  829. -echo "configure:2392: checking for pid_t" >&5
  830. +echo "configure:2400: checking for pid_t" >&5
  831.  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
  832.    echo $ac_n "(cached) $ac_c" 1>&6
  833.  else
  834.    cat > conftest.$ac_ext <<EOF
  835. -#line 2397 "configure"
  836. +#line 2405 "configure"
  837.  #include "confdefs.h"
  838.  #include <sys/types.h>
  839.  #if STDC_HEADERS
  840. @@ -2422,17 +2430,17 @@ fi
  841.  
  842.  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
  843.  echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
  844. -echo "configure:2426: checking for vfork.h" >&5
  845. +echo "configure:2434: checking for vfork.h" >&5
  846.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  847.    echo $ac_n "(cached) $ac_c" 1>&6
  848.  else
  849.    cat > conftest.$ac_ext <<EOF
  850. -#line 2431 "configure"
  851. +#line 2439 "configure"
  852.  #include "confdefs.h"
  853.  #include <vfork.h>
  854.  EOF
  855.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  856. -{ (eval echo configure:2436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  857. +{ (eval echo configure:2444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  858.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  859.  if test -z "$ac_err"; then
  860.    rm -rf conftest*
  861. @@ -2457,18 +2465,18 @@ else
  862.  fi
  863.  
  864.  echo $ac_n "checking for working vfork""... $ac_c" 1>&6
  865. -echo "configure:2461: checking for working vfork" >&5
  866. +echo "configure:2469: checking for working vfork" >&5
  867.  if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
  868.    echo $ac_n "(cached) $ac_c" 1>&6
  869.  else
  870.    if test "$cross_compiling" = yes; then
  871.    echo $ac_n "checking for vfork""... $ac_c" 1>&6
  872. -echo "configure:2467: checking for vfork" >&5
  873. +echo "configure:2475: checking for vfork" >&5
  874.  if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
  875.    echo $ac_n "(cached) $ac_c" 1>&6
  876.  else
  877.    cat > conftest.$ac_ext <<EOF
  878. -#line 2472 "configure"
  879. +#line 2480 "configure"
  880.  #include "confdefs.h"
  881.  /* System header to define __stub macros and hopefully few prototypes,
  882.      which can conflict with char vfork(); below.  */
  883. @@ -2491,7 +2499,7 @@ vfork();
  884.  
  885.  ; return 0; }
  886.  EOF
  887. -if { (eval echo configure:2495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  888. +if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  889.    rm -rf conftest*
  890.    eval "ac_cv_func_vfork=yes"
  891.  else
  892. @@ -2513,7 +2521,7 @@ fi
  893.  ac_cv_func_vfork_works=$ac_cv_func_vfork
  894.  else
  895.    cat > conftest.$ac_ext <<EOF
  896. -#line 2517 "configure"
  897. +#line 2525 "configure"
  898.  #include "confdefs.h"
  899.  /* Thanks to Paul Eggert for this test.  */
  900.  #include <stdio.h>
  901. @@ -2608,7 +2616,7 @@ main() {
  902.    }
  903.  }
  904.  EOF
  905. -if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  906. +if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  907.  then
  908.    ac_cv_func_vfork_works=yes
  909.  else
  910. @@ -2636,12 +2644,12 @@ for ac_func in malloc realloc calloc fre
  911.      strsignal putc_unlocked fputs_unlocked strstr
  912.  do
  913.  echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
  914. -echo "configure:2640: checking whether $ac_func must be declared" >&5
  915. +echo "configure:2648: checking whether $ac_func must be declared" >&5
  916.  if eval "test \"`echo '$''{'gcc_cv_decl_needed_$ac_func'+set}'`\" = set"; then
  917.    echo $ac_n "(cached) $ac_c" 1>&6
  918.  else
  919.    cat > conftest.$ac_ext <<EOF
  920. -#line 2645 "configure"
  921. +#line 2653 "configure"
  922.  #include "confdefs.h"
  923.  
  924.  #include <stdio.h>
  925. @@ -2674,7 +2682,7 @@ int main() {
  926.  char *(*pfn) = (char *(*)) $ac_func
  927.  ; return 0; }
  928.  EOF
  929. -if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  930. +if { (eval echo configure:2686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  931.    rm -rf conftest*
  932.    eval "gcc_cv_decl_needed_$ac_func=no"
  933.  else
  934. @@ -2703,12 +2711,12 @@ done
  935.  for ac_func in getrlimit setrlimit
  936.  do
  937.  echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
  938. -echo "configure:2707: checking whether $ac_func must be declared" >&5
  939. +echo "configure:2715: checking whether $ac_func must be declared" >&5
  940.  if eval "test \"`echo '$''{'gcc_cv_decl_needed_$ac_func'+set}'`\" = set"; then
  941.    echo $ac_n "(cached) $ac_c" 1>&6
  942.  else
  943.    cat > conftest.$ac_ext <<EOF
  944. -#line 2712 "configure"
  945. +#line 2720 "configure"
  946.  #include "confdefs.h"
  947.  
  948.  #include <stdio.h>
  949. @@ -2745,7 +2753,7 @@ int main() {
  950.  char *(*pfn) = (char *(*)) $ac_func
  951.  ; return 0; }
  952.  EOF
  953. -if { (eval echo configure:2749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  954. +if { (eval echo configure:2757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  955.    rm -rf conftest*
  956.    eval "gcc_cv_decl_needed_$ac_func=no"
  957.  else
  958. @@ -2772,12 +2780,12 @@ done
  959.  
  960.  
  961.  echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
  962. -echo "configure:2776: checking for sys_siglist declaration in signal.h or unistd.h" >&5
  963. +echo "configure:2784: checking for sys_siglist declaration in signal.h or unistd.h" >&5
  964.  if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
  965.    echo $ac_n "(cached) $ac_c" 1>&6
  966.  else
  967.    cat > conftest.$ac_ext <<EOF
  968. -#line 2781 "configure"
  969. +#line 2789 "configure"
  970.  #include "confdefs.h"
  971.  #include <sys/types.h>
  972.  #include <signal.h>
  973. @@ -2789,7 +2797,7 @@ int main() {
  974.  char *msg = *(sys_siglist + 1);
  975.  ; return 0; }
  976.  EOF
  977. -if { (eval echo configure:2793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  978. +if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  979.    rm -rf conftest*
  980.    ac_cv_decl_sys_siglist=yes
  981.  else
  982. @@ -2812,12 +2820,12 @@ fi
  983.  
  984.  # mkdir takes a single argument on some systems. 
  985.  echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
  986. -echo "configure:2816: checking if mkdir takes one argument" >&5
  987. +echo "configure:2824: checking if mkdir takes one argument" >&5
  988.  if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then
  989.    echo $ac_n "(cached) $ac_c" 1>&6
  990.  else
  991.    cat > conftest.$ac_ext <<EOF
  992. -#line 2821 "configure"
  993. +#line 2829 "configure"
  994.  #include "confdefs.h"
  995.  
  996.  #include <sys/types.h>
  997. @@ -2834,7 +2842,7 @@ int main() {
  998.  mkdir ("foo", 0);
  999.  ; return 0; }
  1000.  EOF
  1001. -if { (eval echo configure:2838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1002. +if { (eval echo configure:2846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1003.    rm -rf conftest*
  1004.    gcc_cv_mkdir_takes_one_arg=no
  1005.  else
  1006. @@ -6049,7 +6057,7 @@ fi
  1007.  
  1008.  
  1009.          echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
  1010. -echo "configure:6044: checking for strerror in -lcposix" >&5
  1011. +echo "configure:6052: checking for strerror in -lcposix" >&5
  1012.  ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
  1013.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1014.    echo $ac_n "(cached) $ac_c" 1>&6
  1015. @@ -6057,7 +6065,7 @@ else
  1016.    ac_save_LIBS="$LIBS"
  1017.  LIBS="-lcposix  $LIBS"
  1018.  cat > conftest.$ac_ext <<EOF
  1019. -#line 6052 "configure"
  1020. +#line 6060 "configure"
  1021.  #include "confdefs.h"
  1022.  /* Override any gcc2 internal prototype to avoid an error.  */
  1023.  /* We use char because int might match the return type of a gcc2
  1024. @@ -6068,7 +6076,7 @@ int main() {
  1025.  strerror()
  1026.  ; return 0; }
  1027.  EOF
  1028. -if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1029. +if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1030.    rm -rf conftest*
  1031.    eval "ac_cv_lib_$ac_lib_var=yes"
  1032.  else
  1033. @@ -6091,12 +6099,12 @@ fi
  1034.    
  1035.  
  1036.  echo $ac_n "checking for working const""... $ac_c" 1>&6
  1037. -echo "configure:6086: checking for working const" >&5
  1038. +echo "configure:6094: checking for working const" >&5
  1039.  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  1040.    echo $ac_n "(cached) $ac_c" 1>&6
  1041.  else
  1042.    cat > conftest.$ac_ext <<EOF
  1043. -#line 6091 "configure"
  1044. +#line 6099 "configure"
  1045.  #include "confdefs.h"
  1046.  
  1047.  int main() {
  1048. @@ -6145,7 +6153,7 @@ ccp = (char const *const *) p;
  1049.  
  1050.  ; return 0; }
  1051.  EOF
  1052. -if { (eval echo configure:6140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1053. +if { (eval echo configure:6148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1054.    rm -rf conftest*
  1055.    ac_cv_c_const=yes
  1056.  else
  1057. @@ -6166,21 +6174,21 @@ EOF
  1058.  fi
  1059.  
  1060.  echo $ac_n "checking for inline""... $ac_c" 1>&6
  1061. -echo "configure:6161: checking for inline" >&5
  1062. +echo "configure:6169: checking for inline" >&5
  1063.  if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
  1064.    echo $ac_n "(cached) $ac_c" 1>&6
  1065.  else
  1066.    ac_cv_c_inline=no
  1067.  for ac_kw in inline __inline__ __inline; do
  1068.    cat > conftest.$ac_ext <<EOF
  1069. -#line 6168 "configure"
  1070. +#line 6176 "configure"
  1071.  #include "confdefs.h"
  1072.  
  1073.  int main() {
  1074.  } $ac_kw foo() {
  1075.  ; return 0; }
  1076.  EOF
  1077. -if { (eval echo configure:6175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1078. +if { (eval echo configure:6183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1079.    rm -rf conftest*
  1080.    ac_cv_c_inline=$ac_kw; break
  1081.  else
  1082. @@ -6206,12 +6214,12 @@ EOF
  1083.  esac
  1084.  
  1085.  echo $ac_n "checking for off_t""... $ac_c" 1>&6
  1086. -echo "configure:6201: checking for off_t" >&5
  1087. +echo "configure:6209: checking for off_t" >&5
  1088.  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
  1089.    echo $ac_n "(cached) $ac_c" 1>&6
  1090.  else
  1091.    cat > conftest.$ac_ext <<EOF
  1092. -#line 6206 "configure"
  1093. +#line 6214 "configure"
  1094.  #include "confdefs.h"
  1095.  #include <sys/types.h>
  1096.  #if STDC_HEADERS
  1097. @@ -6239,12 +6247,12 @@ EOF
  1098.  fi
  1099.  
  1100.  echo $ac_n "checking for size_t""... $ac_c" 1>&6
  1101. -echo "configure:6234: checking for size_t" >&5
  1102. +echo "configure:6242: checking for size_t" >&5
  1103.  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  1104.    echo $ac_n "(cached) $ac_c" 1>&6
  1105.  else
  1106.    cat > conftest.$ac_ext <<EOF
  1107. -#line 6239 "configure"
  1108. +#line 6247 "configure"
  1109.  #include "confdefs.h"
  1110.  #include <sys/types.h>
  1111.  #if STDC_HEADERS
  1112. @@ -6274,19 +6282,19 @@ fi
  1113.  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1114.  # for constant arguments.  Useless!
  1115.  echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
  1116. -echo "configure:6269: checking for working alloca.h" >&5
  1117. +echo "configure:6277: checking for working alloca.h" >&5
  1118.  if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1119.    echo $ac_n "(cached) $ac_c" 1>&6
  1120.  else
  1121.    cat > conftest.$ac_ext <<EOF
  1122. -#line 6274 "configure"
  1123. +#line 6282 "configure"
  1124.  #include "confdefs.h"
  1125.  #include <alloca.h>
  1126.  int main() {
  1127.  char *p = alloca(2 * sizeof(int));
  1128.  ; return 0; }
  1129.  EOF
  1130. -if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1131. +if { (eval echo configure:6289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1132.    rm -rf conftest*
  1133.    ac_cv_header_alloca_h=yes
  1134.  else
  1135. @@ -6307,12 +6315,12 @@ EOF
  1136.  fi
  1137.  
  1138.  echo $ac_n "checking for alloca""... $ac_c" 1>&6
  1139. -echo "configure:6302: checking for alloca" >&5
  1140. +echo "configure:6310: checking for alloca" >&5
  1141.  if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
  1142.    echo $ac_n "(cached) $ac_c" 1>&6
  1143.  else
  1144.    cat > conftest.$ac_ext <<EOF
  1145. -#line 6307 "configure"
  1146. +#line 6315 "configure"
  1147.  #include "confdefs.h"
  1148.  
  1149.  #ifdef __GNUC__
  1150. @@ -6340,7 +6348,7 @@ int main() {
  1151.  char *p = (char *) alloca(1);
  1152.  ; return 0; }
  1153.  EOF
  1154. -if { (eval echo configure:6335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1155. +if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1156.    rm -rf conftest*
  1157.    ac_cv_func_alloca_works=yes
  1158.  else
  1159. @@ -6372,12 +6380,12 @@ EOF
  1160.  
  1161.  
  1162.  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
  1163. -echo "configure:6367: checking whether alloca needs Cray hooks" >&5
  1164. +echo "configure:6375: checking whether alloca needs Cray hooks" >&5
  1165.  if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
  1166.    echo $ac_n "(cached) $ac_c" 1>&6
  1167.  else
  1168.    cat > conftest.$ac_ext <<EOF
  1169. -#line 6372 "configure"
  1170. +#line 6380 "configure"
  1171.  #include "confdefs.h"
  1172.  #if defined(CRAY) && ! defined(CRAY2)
  1173.  webecray
  1174. @@ -6402,12 +6410,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
  1175.  if test $ac_cv_os_cray = yes; then
  1176.  for ac_func in _getb67 GETB67 getb67; do
  1177.    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1178. -echo "configure:6397: checking for $ac_func" >&5
  1179. +echo "configure:6405: checking for $ac_func" >&5
  1180.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1181.    echo $ac_n "(cached) $ac_c" 1>&6
  1182.  else
  1183.    cat > conftest.$ac_ext <<EOF
  1184. -#line 6402 "configure"
  1185. +#line 6410 "configure"
  1186.  #include "confdefs.h"
  1187.  /* System header to define __stub macros and hopefully few prototypes,
  1188.      which can conflict with char $ac_func(); below.  */
  1189. @@ -6430,7 +6438,7 @@ $ac_func();
  1190.  
  1191.  ; return 0; }
  1192.  EOF
  1193. -if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1194. +if { (eval echo configure:6433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1195.    rm -rf conftest*
  1196.    eval "ac_cv_func_$ac_func=yes"
  1197.  else
  1198. @@ -6457,7 +6465,7 @@ done
  1199.  fi
  1200.  
  1201.  echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
  1202. -echo "configure:6452: checking stack direction for C alloca" >&5
  1203. +echo "configure:6460: checking stack direction for C alloca" >&5
  1204.  if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
  1205.    echo $ac_n "(cached) $ac_c" 1>&6
  1206.  else
  1207. @@ -6465,7 +6473,7 @@ else
  1208.    ac_cv_c_stack_direction=0
  1209.  else
  1210.    cat > conftest.$ac_ext <<EOF
  1211. -#line 6460 "configure"
  1212. +#line 6468 "configure"
  1213.  #include "confdefs.h"
  1214.  find_stack_direction ()
  1215.  {
  1216. @@ -6484,7 +6492,7 @@ main ()
  1217.    exit (find_stack_direction() < 0);
  1218.  }
  1219.  EOF
  1220. -if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1221. +if { (eval echo configure:6487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1222.  then
  1223.    ac_cv_c_stack_direction=1
  1224.  else
  1225. @@ -6509,17 +6517,17 @@ for ac_hdr in unistd.h
  1226.  do
  1227.  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1228.  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1229. -echo "configure:6504: checking for $ac_hdr" >&5
  1230. +echo "configure:6512: checking for $ac_hdr" >&5
  1231.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1232.    echo $ac_n "(cached) $ac_c" 1>&6
  1233.  else
  1234.    cat > conftest.$ac_ext <<EOF
  1235. -#line 6509 "configure"
  1236. +#line 6517 "configure"
  1237.  #include "confdefs.h"
  1238.  #include <$ac_hdr>
  1239.  EOF
  1240.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1241. -{ (eval echo configure:6514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1242. +{ (eval echo configure:6522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1243.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  1244.  if test -z "$ac_err"; then
  1245.    rm -rf conftest*
  1246. @@ -6548,12 +6556,12 @@ done
  1247.  for ac_func in getpagesize
  1248.  do
  1249.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1250. -echo "configure:6543: checking for $ac_func" >&5
  1251. +echo "configure:6551: checking for $ac_func" >&5
  1252.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1253.    echo $ac_n "(cached) $ac_c" 1>&6
  1254.  else
  1255.    cat > conftest.$ac_ext <<EOF
  1256. -#line 6548 "configure"
  1257. +#line 6556 "configure"
  1258.  #include "confdefs.h"
  1259.  /* System header to define __stub macros and hopefully few prototypes,
  1260.      which can conflict with char $ac_func(); below.  */
  1261. @@ -6576,7 +6584,7 @@ $ac_func();
  1262.  
  1263.  ; return 0; }
  1264.  EOF
  1265. -if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1266. +if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1267.    rm -rf conftest*
  1268.    eval "ac_cv_func_$ac_func=yes"
  1269.  else
  1270. @@ -6601,7 +6609,7 @@ fi
  1271.  done
  1272.  
  1273.  echo $ac_n "checking for working mmap""... $ac_c" 1>&6
  1274. -echo "configure:6596: checking for working mmap" >&5
  1275. +echo "configure:6604: checking for working mmap" >&5
  1276.  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
  1277.    echo $ac_n "(cached) $ac_c" 1>&6
  1278.  else
  1279. @@ -6609,7 +6617,7 @@ else
  1280.    ac_cv_func_mmap_fixed_mapped=no
  1281.  else
  1282.    cat > conftest.$ac_ext <<EOF
  1283. -#line 6604 "configure"
  1284. +#line 6612 "configure"
  1285.  #include "confdefs.h"
  1286.  
  1287.  /* Thanks to Mike Haertel and Jim Avera for this test.
  1288. @@ -6749,7 +6757,7 @@ main()
  1289.  }
  1290.  
  1291.  EOF
  1292. -if { (eval echo configure:6744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1293. +if { (eval echo configure:6752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1294.  then
  1295.    ac_cv_func_mmap_fixed_mapped=yes
  1296.  else
  1297. @@ -6777,17 +6785,17 @@ unistd.h sys/param.h
  1298.  do
  1299.  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1300.  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1301. -echo "configure:6772: checking for $ac_hdr" >&5
  1302. +echo "configure:6780: checking for $ac_hdr" >&5
  1303.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1304.    echo $ac_n "(cached) $ac_c" 1>&6
  1305.  else
  1306.    cat > conftest.$ac_ext <<EOF
  1307. -#line 6777 "configure"
  1308. +#line 6785 "configure"
  1309.  #include "confdefs.h"
  1310.  #include <$ac_hdr>
  1311.  EOF
  1312.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1313. -{ (eval echo configure:6782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1314. +{ (eval echo configure:6790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1315.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  1316.  if test -z "$ac_err"; then
  1317.    rm -rf conftest*
  1318. @@ -6817,12 +6825,12 @@ done
  1319.  strdup __argz_count __argz_stringify __argz_next
  1320.  do
  1321.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1322. -echo "configure:6812: checking for $ac_func" >&5
  1323. +echo "configure:6820: checking for $ac_func" >&5
  1324.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1325.    echo $ac_n "(cached) $ac_c" 1>&6
  1326.  else
  1327.    cat > conftest.$ac_ext <<EOF
  1328. -#line 6817 "configure"
  1329. +#line 6825 "configure"
  1330.  #include "confdefs.h"
  1331.  /* System header to define __stub macros and hopefully few prototypes,
  1332.      which can conflict with char $ac_func(); below.  */
  1333. @@ -6845,7 +6853,7 @@ $ac_func();
  1334.  
  1335.  ; return 0; }
  1336.  EOF
  1337. -if { (eval echo configure:6840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1338. +if { (eval echo configure:6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1339.    rm -rf conftest*
  1340.    eval "ac_cv_func_$ac_func=yes"
  1341.  else
  1342. @@ -6874,12 +6882,12 @@ done
  1343.       for ac_func in stpcpy
  1344.  do
  1345.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1346. -echo "configure:6869: checking for $ac_func" >&5
  1347. +echo "configure:6877: checking for $ac_func" >&5
  1348.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1349.    echo $ac_n "(cached) $ac_c" 1>&6
  1350.  else
  1351.    cat > conftest.$ac_ext <<EOF
  1352. -#line 6874 "configure"
  1353. +#line 6882 "configure"
  1354.  #include "confdefs.h"
  1355.  /* System header to define __stub macros and hopefully few prototypes,
  1356.      which can conflict with char $ac_func(); below.  */
  1357. @@ -6902,7 +6910,7 @@ $ac_func();
  1358.  
  1359.  ; return 0; }
  1360.  EOF
  1361. -if { (eval echo configure:6897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1362. +if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1363.    rm -rf conftest*
  1364.    eval "ac_cv_func_$ac_func=yes"
  1365.  else
  1366. @@ -6936,19 +6944,19 @@ EOF
  1367.  
  1368.     if test $ac_cv_header_locale_h = yes; then
  1369.      echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
  1370. -echo "configure:6931: checking for LC_MESSAGES" >&5
  1371. +echo "configure:6939: checking for LC_MESSAGES" >&5
  1372.  if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
  1373.    echo $ac_n "(cached) $ac_c" 1>&6
  1374.  else
  1375.    cat > conftest.$ac_ext <<EOF
  1376. -#line 6936 "configure"
  1377. +#line 6944 "configure"
  1378.  #include "confdefs.h"
  1379.  #include <locale.h>
  1380.  int main() {
  1381.  return LC_MESSAGES
  1382.  ; return 0; }
  1383.  EOF
  1384. -if { (eval echo configure:6943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1385. +if { (eval echo configure:6951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1386.    rm -rf conftest*
  1387.    am_cv_val_LC_MESSAGES=yes
  1388.  else
  1389. @@ -6969,7 +6977,7 @@ EOF
  1390.      fi
  1391.    fi
  1392.     echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
  1393. -echo "configure:6964: checking whether NLS is requested" >&5
  1394. +echo "configure:6972: checking whether NLS is requested" >&5
  1395.          # Check whether --enable-nls or --disable-nls was given.
  1396.  if test "${enable_nls+set}" = set; then
  1397.    enableval="$enable_nls"
  1398. @@ -6989,7 +6997,7 @@ fi
  1399.  EOF
  1400.  
  1401.        echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
  1402. -echo "configure:6984: checking whether included gettext is requested" >&5
  1403. +echo "configure:6992: checking whether included gettext is requested" >&5
  1404.        # Check whether --with-included-gettext or --without-included-gettext was given.
  1405.  if test "${with_included_gettext+set}" = set; then
  1406.    withval="$with_included_gettext"
  1407. @@ -7008,17 +7016,17 @@ fi
  1408.  
  1409.      ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
  1410.  echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
  1411. -echo "configure:7003: checking for libintl.h" >&5
  1412. +echo "configure:7011: checking for libintl.h" >&5
  1413.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1414.    echo $ac_n "(cached) $ac_c" 1>&6
  1415.  else
  1416.    cat > conftest.$ac_ext <<EOF
  1417. -#line 7008 "configure"
  1418. +#line 7016 "configure"
  1419.  #include "confdefs.h"
  1420.  #include <libintl.h>
  1421.  EOF
  1422.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1423. -{ (eval echo configure:7013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1424. +{ (eval echo configure:7021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1425.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  1426.  if test -z "$ac_err"; then
  1427.    rm -rf conftest*
  1428. @@ -7035,19 +7043,19 @@ fi
  1429.  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1430.    echo "$ac_t""yes" 1>&6
  1431.    echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
  1432. -echo "configure:7030: checking for gettext in libc" >&5
  1433. +echo "configure:7038: checking for gettext in libc" >&5
  1434.  if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
  1435.    echo $ac_n "(cached) $ac_c" 1>&6
  1436.  else
  1437.    cat > conftest.$ac_ext <<EOF
  1438. -#line 7035 "configure"
  1439. +#line 7043 "configure"
  1440.  #include "confdefs.h"
  1441.  #include <libintl.h>
  1442.  int main() {
  1443.  return (int) gettext ("")
  1444.  ; return 0; }
  1445.  EOF
  1446. -if { (eval echo configure:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1447. +if { (eval echo configure:7050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1448.    rm -rf conftest*
  1449.    gt_cv_func_gettext_libc=yes
  1450.  else
  1451. @@ -7063,7 +7071,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1
  1452.  
  1453.         if test "$gt_cv_func_gettext_libc" != "yes"; then
  1454.           echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
  1455. -echo "configure:7058: checking for bindtextdomain in -lintl" >&5
  1456. +echo "configure:7066: checking for bindtextdomain in -lintl" >&5
  1457.  ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
  1458.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1459.    echo $ac_n "(cached) $ac_c" 1>&6
  1460. @@ -7071,7 +7079,7 @@ else
  1461.    ac_save_LIBS="$LIBS"
  1462.  LIBS="-lintl  $LIBS"
  1463.  cat > conftest.$ac_ext <<EOF
  1464. -#line 7066 "configure"
  1465. +#line 7074 "configure"
  1466.  #include "confdefs.h"
  1467.  /* Override any gcc2 internal prototype to avoid an error.  */
  1468.  /* We use char because int might match the return type of a gcc2
  1469. @@ -7082,7 +7090,7 @@ int main() {
  1470.  bindtextdomain()
  1471.  ; return 0; }
  1472.  EOF
  1473. -if { (eval echo configure:7077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1474. +if { (eval echo configure:7085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1475.    rm -rf conftest*
  1476.    eval "ac_cv_lib_$ac_lib_var=yes"
  1477.  else
  1478. @@ -7098,12 +7106,12 @@ fi
  1479.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1480.    echo "$ac_t""yes" 1>&6
  1481.    echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
  1482. -echo "configure:7093: checking for gettext in libintl" >&5
  1483. +echo "configure:7101: checking for gettext in libintl" >&5
  1484.  if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
  1485.    echo $ac_n "(cached) $ac_c" 1>&6
  1486.  else
  1487.    echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
  1488. -echo "configure:7098: checking for gettext in -lintl" >&5
  1489. +echo "configure:7106: checking for gettext in -lintl" >&5
  1490.  ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
  1491.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1492.    echo $ac_n "(cached) $ac_c" 1>&6
  1493. @@ -7111,7 +7119,7 @@ else
  1494.    ac_save_LIBS="$LIBS"
  1495.  LIBS="-lintl  $LIBS"
  1496.  cat > conftest.$ac_ext <<EOF
  1497. -#line 7106 "configure"
  1498. +#line 7114 "configure"
  1499.  #include "confdefs.h"
  1500.  /* Override any gcc2 internal prototype to avoid an error.  */
  1501.  /* We use char because int might match the return type of a gcc2
  1502. @@ -7122,7 +7130,7 @@ int main() {
  1503.  gettext()
  1504.  ; return 0; }
  1505.  EOF
  1506. -if { (eval echo configure:7117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1507. +if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1508.    rm -rf conftest*
  1509.    eval "ac_cv_lib_$ac_lib_var=yes"
  1510.  else
  1511. @@ -7161,7 +7169,7 @@ EOF
  1512.            # Extract the first word of "msgfmt", so it can be a program name with args.
  1513.  set dummy msgfmt; ac_word=$2
  1514.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1515. -echo "configure:7156: checking for $ac_word" >&5
  1516. +echo "configure:7164: checking for $ac_word" >&5
  1517.  if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
  1518.    echo $ac_n "(cached) $ac_c" 1>&6
  1519.  else
  1520. @@ -7195,12 +7203,12 @@ fi
  1521.          for ac_func in dcgettext
  1522.  do
  1523.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1524. -echo "configure:7190: checking for $ac_func" >&5
  1525. +echo "configure:7198: checking for $ac_func" >&5
  1526.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1527.    echo $ac_n "(cached) $ac_c" 1>&6
  1528.  else
  1529.    cat > conftest.$ac_ext <<EOF
  1530. -#line 7195 "configure"
  1531. +#line 7203 "configure"
  1532.  #include "confdefs.h"
  1533.  /* System header to define __stub macros and hopefully few prototypes,
  1534.      which can conflict with char $ac_func(); below.  */
  1535. @@ -7223,7 +7231,7 @@ $ac_func();
  1536.  
  1537.  ; return 0; }
  1538.  EOF
  1539. -if { (eval echo configure:7218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1540. +if { (eval echo configure:7226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1541.    rm -rf conftest*
  1542.    eval "ac_cv_func_$ac_func=yes"
  1543.  else
  1544. @@ -7250,7 +7258,7 @@ done
  1545.          # Extract the first word of "gmsgfmt", so it can be a program name with args.
  1546.  set dummy gmsgfmt; ac_word=$2
  1547.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1548. -echo "configure:7245: checking for $ac_word" >&5
  1549. +echo "configure:7253: checking for $ac_word" >&5
  1550.  if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
  1551.    echo $ac_n "(cached) $ac_c" 1>&6
  1552.  else
  1553. @@ -7286,7 +7294,7 @@ fi
  1554.          # Extract the first word of "xgettext", so it can be a program name with args.
  1555.  set dummy xgettext; ac_word=$2
  1556.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1557. -echo "configure:7281: checking for $ac_word" >&5
  1558. +echo "configure:7289: checking for $ac_word" >&5
  1559.  if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
  1560.    echo $ac_n "(cached) $ac_c" 1>&6
  1561.  else
  1562. @@ -7318,7 +7326,7 @@ else
  1563.  fi
  1564.  
  1565.          cat > conftest.$ac_ext <<EOF
  1566. -#line 7313 "configure"
  1567. +#line 7321 "configure"
  1568.  #include "confdefs.h"
  1569.  
  1570.  int main() {
  1571. @@ -7326,7 +7334,7 @@ extern int _nl_msg_cat_cntr;
  1572.                     return _nl_msg_cat_cntr
  1573.  ; return 0; }
  1574.  EOF
  1575. -if { (eval echo configure:7321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1576. +if { (eval echo configure:7329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1577.    rm -rf conftest*
  1578.    CATOBJEXT=.gmo
  1579.             DATADIRNAME=share
  1580. @@ -7349,7 +7357,7 @@ fi
  1581.  
  1582.          if test "$CATOBJEXT" = "NONE"; then
  1583.        echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
  1584. -echo "configure:7344: checking whether catgets can be used" >&5
  1585. +echo "configure:7352: checking whether catgets can be used" >&5
  1586.        # Check whether --with-catgets or --without-catgets was given.
  1587.  if test "${with_catgets+set}" = set; then
  1588.    withval="$with_catgets"
  1589. @@ -7362,7 +7370,7 @@ fi
  1590.  
  1591.        if test "$nls_cv_use_catgets" = "yes"; then
  1592.                  echo $ac_n "checking for main in -li""... $ac_c" 1>&6
  1593. -echo "configure:7357: checking for main in -li" >&5
  1594. +echo "configure:7365: checking for main in -li" >&5
  1595.  ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
  1596.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1597.    echo $ac_n "(cached) $ac_c" 1>&6
  1598. @@ -7370,14 +7378,14 @@ else
  1599.    ac_save_LIBS="$LIBS"
  1600.  LIBS="-li  $LIBS"
  1601.  cat > conftest.$ac_ext <<EOF
  1602. -#line 7365 "configure"
  1603. +#line 7373 "configure"
  1604.  #include "confdefs.h"
  1605.  
  1606.  int main() {
  1607.  main()
  1608.  ; return 0; }
  1609.  EOF
  1610. -if { (eval echo configure:7372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1611. +if { (eval echo configure:7380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1612.    rm -rf conftest*
  1613.    eval "ac_cv_lib_$ac_lib_var=yes"
  1614.  else
  1615. @@ -7405,12 +7413,12 @@ else
  1616.  fi
  1617.  
  1618.          echo $ac_n "checking for catgets""... $ac_c" 1>&6
  1619. -echo "configure:7400: checking for catgets" >&5
  1620. +echo "configure:7408: checking for catgets" >&5
  1621.  if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
  1622.    echo $ac_n "(cached) $ac_c" 1>&6
  1623.  else
  1624.    cat > conftest.$ac_ext <<EOF
  1625. -#line 7405 "configure"
  1626. +#line 7413 "configure"
  1627.  #include "confdefs.h"
  1628.  /* System header to define __stub macros and hopefully few prototypes,
  1629.      which can conflict with char catgets(); below.  */
  1630. @@ -7433,7 +7441,7 @@ catgets();
  1631.  
  1632.  ; return 0; }
  1633.  EOF
  1634. -if { (eval echo configure:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1635. +if { (eval echo configure:7436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1636.    rm -rf conftest*
  1637.    eval "ac_cv_func_catgets=yes"
  1638.  else
  1639. @@ -7455,7 +7463,7 @@ EOF
  1640.             # Extract the first word of "gencat", so it can be a program name with args.
  1641.  set dummy gencat; ac_word=$2
  1642.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1643. -echo "configure:7450: checking for $ac_word" >&5
  1644. +echo "configure:7458: checking for $ac_word" >&5
  1645.  if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
  1646.    echo $ac_n "(cached) $ac_c" 1>&6
  1647.  else
  1648. @@ -7491,7 +7499,7 @@ fi
  1649.           # Extract the first word of "gmsgfmt", so it can be a program name with args.
  1650.  set dummy gmsgfmt; ac_word=$2
  1651.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1652. -echo "configure:7486: checking for $ac_word" >&5
  1653. +echo "configure:7494: checking for $ac_word" >&5
  1654.  if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
  1655.    echo $ac_n "(cached) $ac_c" 1>&6
  1656.  else
  1657. @@ -7528,7 +7536,7 @@ fi
  1658.             # Extract the first word of "msgfmt", so it can be a program name with args.
  1659.  set dummy msgfmt; ac_word=$2
  1660.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1661. -echo "configure:7523: checking for $ac_word" >&5
  1662. +echo "configure:7531: checking for $ac_word" >&5
  1663.  if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
  1664.    echo $ac_n "(cached) $ac_c" 1>&6
  1665.  else
  1666. @@ -7563,7 +7571,7 @@ fi
  1667.           # Extract the first word of "xgettext", so it can be a program name with args.
  1668.  set dummy xgettext; ac_word=$2
  1669.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1670. -echo "configure:7558: checking for $ac_word" >&5
  1671. +echo "configure:7566: checking for $ac_word" >&5
  1672.  if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
  1673.    echo $ac_n "(cached) $ac_c" 1>&6
  1674.  else
  1675. @@ -7621,7 +7629,7 @@ fi
  1676.          # Extract the first word of "msgfmt", so it can be a program name with args.
  1677.  set dummy msgfmt; ac_word=$2
  1678.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1679. -echo "configure:7616: checking for $ac_word" >&5
  1680. +echo "configure:7624: checking for $ac_word" >&5
  1681.  if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
  1682.    echo $ac_n "(cached) $ac_c" 1>&6
  1683.  else
  1684. @@ -7655,7 +7663,7 @@ fi
  1685.          # Extract the first word of "gmsgfmt", so it can be a program name with args.
  1686.  set dummy gmsgfmt; ac_word=$2
  1687.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1688. -echo "configure:7650: checking for $ac_word" >&5
  1689. +echo "configure:7658: checking for $ac_word" >&5
  1690.  if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
  1691.    echo $ac_n "(cached) $ac_c" 1>&6
  1692.  else
  1693. @@ -7691,7 +7699,7 @@ fi
  1694.          # Extract the first word of "xgettext", so it can be a program name with args.
  1695.  set dummy xgettext; ac_word=$2
  1696.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1697. -echo "configure:7686: checking for $ac_word" >&5
  1698. +echo "configure:7694: checking for $ac_word" >&5
  1699.  if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
  1700.    echo $ac_n "(cached) $ac_c" 1>&6
  1701.  else
  1702. @@ -7784,7 +7792,7 @@ fi
  1703.         LINGUAS=
  1704.       else
  1705.         echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
  1706. -echo "configure:7779: checking for catalogs to be installed" >&5
  1707. +echo "configure:7787: checking for catalogs to be installed" >&5
  1708.         NEW_LINGUAS=
  1709.         for lang in ${LINGUAS=$ALL_LINGUAS}; do
  1710.           case "$ALL_LINGUAS" in
  1711. @@ -7812,17 +7820,17 @@ echo "configure:7779: checking for catal
  1712.     if test "$CATOBJEXT" = ".cat"; then
  1713.       ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
  1714.  echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
  1715. -echo "configure:7807: checking for linux/version.h" >&5
  1716. +echo "configure:7815: checking for linux/version.h" >&5
  1717.  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1718.    echo $ac_n "(cached) $ac_c" 1>&6
  1719.  else
  1720.    cat > conftest.$ac_ext <<EOF
  1721. -#line 7812 "configure"
  1722. +#line 7820 "configure"
  1723.  #include "confdefs.h"
  1724.  #include <linux/version.h>
  1725.  EOF
  1726.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1727. -{ (eval echo configure:7817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1728. +{ (eval echo configure:7825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1729.  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  1730.  if test -z "$ac_err"; then
  1731.    rm -rf conftest*
  1732. @@ -7888,6 +7896,52 @@ fi
  1733.    
  1734.  XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
  1735.  
  1736. +# Windows32 Registry support for specifying GCC installation paths. 
  1737. +# Check whether --enable-win32-registry or --disable-win32-registry was given.
  1738. +if test "${enable_win32_registry+set}" = set; then
  1739. +  enableval="$enable_win32_registry"
  1740. +  :
  1741. +fi
  1742. +
  1743. +
  1744. +echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
  1745. +echo "configure:7900: checking whether windows registry support is requested" >&5
  1746. +if test x$enable_win32_registry != xno; then
  1747. +  cat >> confdefs.h <<\EOF
  1748. +#define ENABLE_WIN32_REGISTRY 1
  1749. +EOF
  1750. +
  1751. +  echo "$ac_t""yes" 1>&6
  1752. +else
  1753. +  echo "$ac_t""no" 1>&6
  1754. +fi
  1755. +
  1756. +# Check if user specified a different registry key.
  1757. +case x${enable_win32_registry} in
  1758. +x | xyes)
  1759. +  # default.
  1760. +  gcc_cv_win32_registry_key="$VERSION"
  1761. +  ;;
  1762. +xno)
  1763. +  # no registry lookup.
  1764. +  gcc_cv_win32_registry_key=''
  1765. +  ;;
  1766. +*)
  1767. +  # user-specified key.
  1768. +  gcc_cv_win32_registry_key="$enable_win32_registry"
  1769. +  ;;
  1770. +esac
  1771. +
  1772. +if test x$enable_win32_registry != xno; then
  1773. +  echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
  1774. +echo "configure:7929: checking registry key on windows hosts" >&5
  1775. +  cat >> confdefs.h <<EOF
  1776. +#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
  1777. +EOF
  1778. +
  1779. +  echo "$ac_t""$gcc_cv_win32_registry_key" 1>&6
  1780. +fi
  1781. +
  1782.  # Get an absolute path to the GCC top-level source directory
  1783.  holddir=`pwd`
  1784.  cd $srcdir
  1785. @@ -8056,7 +8110,7 @@ fi
  1786.  
  1787.  # Figure out what assembler alignment features are present.
  1788.  echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
  1789. -echo "configure:8051: checking assembler alignment features" >&5
  1790. +echo "configure:8105: checking assembler alignment features" >&5
  1791.  gcc_cv_as=
  1792.  gcc_cv_as_alignment_features=
  1793.  gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/gas
  1794. @@ -8177,7 +8231,7 @@ fi
  1795.  echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
  1796.  
  1797.  echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
  1798. -echo "configure:8172: checking assembler subsection support" >&5
  1799. +echo "configure:8226: checking assembler subsection support" >&5
  1800.  gcc_cv_as_subsections=
  1801.  if test x$gcc_cv_as != x; then
  1802.      # Check if we have .subsection
  1803. @@ -8217,7 +8271,7 @@ fi
  1804.  echo "$ac_t""$gcc_cv_as_subsections" 1>&6
  1805.  
  1806.  echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
  1807. -echo "configure:8212: checking assembler instructions" >&5
  1808. +echo "configure:8266: checking assembler instructions" >&5
  1809.  gcc_cv_as_instructions=
  1810.  if test x$gcc_cv_as != x; then
  1811.      set "filds fists" "filds mem; fists mem"
  1812. Index: gcc-2.95.2/gcc/config.in
  1813. ===================================================================
  1814. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/config.in,v
  1815. retrieving revision 1.1.1.1
  1816. diff -u -3 -p -r1.1.1.1 config.in
  1817. --- gcc-2.95.2/gcc/config.in    1999/11/05 01:09:41    1.1.1.1
  1818. +++ gcc-2.95.2/gcc/config.in    1999/11/05 08:13:37
  1819. @@ -11,6 +11,13 @@
  1820.  /* Define to 1 if NLS is requested.  */
  1821.  #undef ENABLE_NLS
  1822.  
  1823. +/* Define to 1 if installation paths should be looked up in Windows32 
  1824. +   Registry. Ignored on non windows32 hosts. */
  1825. +#undef ENABLE_WIN32_REGISTRY
  1826. +
  1827. +/* Define to be the last portion of registry key on windows hosts.  */
  1828. +#undef WIN32_REGISTRY_KEY
  1829. +
  1830.  /* Define as 1 if you have catgets and don't want to use GNU gettext.  */
  1831.  #undef HAVE_CATGETS
  1832.  
  1833. Index: gcc-2.95.2/gcc/prefix.c
  1834. ===================================================================
  1835. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/prefix.c,v
  1836. retrieving revision 1.1.1.1
  1837. diff -u -3 -p -r1.1.1.1 prefix.c
  1838. --- gcc-2.95.2/gcc/prefix.c    1999/11/05 01:09:44    1.1.1.1
  1839. +++ gcc-2.95.2/gcc/prefix.c    1999/11/05 08:13:37
  1840. @@ -44,9 +44,10 @@ Boston, MA 02111-1307, USA.  */
  1841.     -- If this is a Win32 OS, then the Registry will be examined for
  1842.        an entry of "key" in 
  1843.  
  1844. -      HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\
  1845. +      HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\<KEY>
  1846.  
  1847. -      if found, that value will be used.
  1848. +      if found, that value will be used. <KEY> defaults to GCC version
  1849. +      string, but can be overridden at configuration time.
  1850.  
  1851.     -- If not found (or not a Win32 OS), the environment variable
  1852.        key_ROOT (the value of "key" concatenated with the constant "_ROOT")
  1853. @@ -65,7 +66,7 @@ Boston, MA 02111-1307, USA.  */
  1854.  
  1855.  #include "config.h"
  1856.  #include "system.h"
  1857. -#ifdef _WIN32
  1858. +#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
  1859.  #include <windows.h>
  1860.  #endif
  1861.  #include "prefix.h"
  1862. @@ -76,7 +77,7 @@ static const char *get_key_value    PROTO((
  1863.  static const char *translate_name    PROTO((const char *));
  1864.  static char *save_string        PROTO((const char *, int));
  1865.  
  1866. -#ifdef _WIN32
  1867. +#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
  1868.  static char *lookup_key        PROTO((char *));
  1869.  static HKEY reg_key = (HKEY) INVALID_HANDLE_VALUE;
  1870.  #endif
  1871. @@ -101,7 +102,7 @@ get_key_value (key)
  1872.    const char *prefix = 0;
  1873.    char *temp = 0;
  1874.  
  1875. -#ifdef _WIN32
  1876. +#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
  1877.    prefix = lookup_key (key);
  1878.  #endif
  1879.  
  1880. @@ -187,7 +188,7 @@ save_string (s, len)
  1881.    return result;
  1882.  }
  1883.  
  1884. -#ifdef _WIN32
  1885. +#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
  1886.  
  1887.  /* Look up "key" in the registry, as above.  */
  1888.  
  1889. @@ -207,6 +208,10 @@ lookup_key (key)
  1890.  
  1891.        if (res == ERROR_SUCCESS)
  1892.      res = RegOpenKeyExA (reg_key, "Free Software Foundation", 0,
  1893. +                 KEY_READ, ®_key);
  1894. +
  1895. +      if (res == ERROR_SUCCESS)
  1896. +    res = RegOpenKeyExA (reg_key, WIN32_REGISTRY_KEY, 0,
  1897.                   KEY_READ, ®_key);
  1898.  
  1899.        if (res != ERROR_SUCCESS)
  1900.