1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/common/autoconf/basics_windows.m4 Fri Oct 26 14:29:57 2012 -0700 1.3 @@ -0,0 +1,406 @@ 1.4 +# 1.5 +# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.7 +# 1.8 +# This code is free software; you can redistribute it and/or modify it 1.9 +# under the terms of the GNU General Public License version 2 only, as 1.10 +# published by the Free Software Foundation. Oracle designates this 1.11 +# particular file as subject to the "Classpath" exception as provided 1.12 +# by Oracle in the LICENSE file that accompanied this code. 1.13 +# 1.14 +# This code is distributed in the hope that it will be useful, but WITHOUT 1.15 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.16 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.17 +# version 2 for more details (a copy is included in the LICENSE file that 1.18 +# accompanied this code). 1.19 +# 1.20 +# You should have received a copy of the GNU General Public License version 1.21 +# 2 along with this work; if not, write to the Free Software Foundation, 1.22 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.23 +# 1.24 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.25 +# or visit www.oracle.com if you need additional information or have any 1.26 +# questions. 1.27 +# 1.28 + 1.29 +AC_DEFUN([BASIC_WINDOWS_REWRITE_AS_UNIX_PATH], 1.30 +[ 1.31 + windows_path="[$]$1" 1.32 + if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then 1.33 + unix_path=`$CYGPATH -u "$windows_path"` 1.34 + $1="$unix_path" 1.35 + elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then 1.36 + unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'` 1.37 + $1="$unix_path" 1.38 + fi 1.39 +]) 1.40 + 1.41 +AC_DEFUN([BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH], 1.42 +[ 1.43 + unix_path="[$]$1" 1.44 + if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then 1.45 + windows_path=`$CYGPATH -m "$unix_path"` 1.46 + $1="$windows_path" 1.47 + elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then 1.48 + windows_path=`cmd //c echo $unix_path` 1.49 + $1="$windows_path" 1.50 + fi 1.51 +]) 1.52 + 1.53 +# Helper function which possibly converts a path using DOS-style short mode. 1.54 +# If so, the updated path is stored in $new_path. 1.55 +# $1: The path to check 1.56 +AC_DEFUN([BASIC_MAKE_WINDOWS_SPACE_SAFE_CYGWIN], 1.57 +[ 1.58 + input_path="$1" 1.59 + # Check if we need to convert this using DOS-style short mode. If the path 1.60 + # contains just simple characters, use it. Otherwise (spaces, weird characters), 1.61 + # take no chances and rewrite it. 1.62 + # Note: m4 eats our [], so we need to use @<:@ and @:>@ instead. 1.63 + has_forbidden_chars=`$ECHO "$input_path" | $GREP @<:@^-._/a-zA-Z0-9@:>@` 1.64 + if test "x$has_forbidden_chars" != x; then 1.65 + # Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \) 1.66 + shortmode_path=`$CYGPATH -s -m -a "$input_path"` 1.67 + path_after_shortmode=`$CYGPATH -u "$shortmode_path"` 1.68 + if test "x$path_after_shortmode" != "x$input_to_shortpath"; then 1.69 + # Going to short mode and back again did indeed matter. Since short mode is 1.70 + # case insensitive, let's make it lowercase to improve readability. 1.71 + shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 1.72 + # Now convert it back to Unix-stile (cygpath) 1.73 + input_path=`$CYGPATH -u "$shortmode_path"` 1.74 + new_path="$input_path" 1.75 + fi 1.76 + fi 1.77 + 1.78 + test_cygdrive_prefix=`$ECHO $input_path | $GREP ^/cygdrive/` 1.79 + if test "x$test_cygdrive_prefix" = x; then 1.80 + # As a simple fix, exclude /usr/bin since it's not a real path. 1.81 + if test "x`$ECHO $1 | $GREP ^/usr/bin/`" = x; then 1.82 + # The path is in a Cygwin special directory (e.g. /home). We need this converted to 1.83 + # a path prefixed by /cygdrive for fixpath to work. 1.84 + new_path="$CYGWIN_ROOT_PATH$input_path" 1.85 + fi 1.86 + fi 1.87 +]) 1.88 + 1.89 +# Helper function which possibly converts a path using DOS-style short mode. 1.90 +# If so, the updated path is stored in $new_path. 1.91 +# $1: The path to check 1.92 +AC_DEFUN([BASIC_MAKE_WINDOWS_SPACE_SAFE_MSYS], 1.93 +[ 1.94 + input_path="$1" 1.95 + # Check if we need to convert this using DOS-style short mode. If the path 1.96 + # contains just simple characters, use it. Otherwise (spaces, weird characters), 1.97 + # take no chances and rewrite it. 1.98 + # Note: m4 eats our [], so we need to use @<:@ and @:>@ instead. 1.99 + has_forbidden_chars=`$ECHO "$input_path" | $GREP @<:@^-_/:a-zA-Z0-9@:>@` 1.100 + if test "x$has_forbidden_chars" != x; then 1.101 + # Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \) 1.102 + new_path=`cmd /c "for %A in (\"$input_path\") do @echo %~sA"|$TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 1.103 + fi 1.104 +]) 1.105 + 1.106 +# FIXME: The BASIC_FIXUP_*_CYGWIN/MSYS is most likely too convoluted 1.107 +# and could probably be heavily simplified. However, all changes in this 1.108 +# area tend to need lot of testing in different scenarios, and in lack of 1.109 +# proper unit testing, cleaning this up has not been deemed worth the effort 1.110 +# at the moment. 1.111 + 1.112 +AC_DEFUN([BASIC_FIXUP_PATH_CYGWIN], 1.113 +[ 1.114 + # Input might be given as Windows format, start by converting to 1.115 + # unix format. 1.116 + path="[$]$1" 1.117 + new_path=`$CYGPATH -u "$path"` 1.118 + 1.119 + # Cygwin tries to hide some aspects of the Windows file system, such that binaries are 1.120 + # named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered 1.121 + # the same file, most of the time (as in "test -f"). But not when running cygpath -s, then 1.122 + # "foo.exe" is OK but "foo" is an error. 1.123 + # 1.124 + # This test is therefore slightly more accurate than "test -f" to check for file precense. 1.125 + # It is also a way to make sure we got the proper file name for the real test later on. 1.126 + test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null` 1.127 + if test "x$test_shortpath" = x; then 1.128 + AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.]) 1.129 + AC_MSG_ERROR([Cannot locate the the path of $1]) 1.130 + fi 1.131 + 1.132 + # Call helper function which possibly converts this using DOS-style short mode. 1.133 + # If so, the updated path is stored in $new_path. 1.134 + BASIC_MAKE_WINDOWS_SPACE_SAFE_CYGWIN([$new_path]) 1.135 + 1.136 + if test "x$path" != "x$new_path"; then 1.137 + $1="$new_path" 1.138 + AC_MSG_NOTICE([Rewriting $1 to "$new_path"]) 1.139 + fi 1.140 +]) 1.141 + 1.142 +AC_DEFUN([BASIC_FIXUP_PATH_MSYS], 1.143 +[ 1.144 + path="[$]$1" 1.145 + has_colon=`$ECHO $path | $GREP ^.:` 1.146 + new_path="$path" 1.147 + if test "x$has_colon" = x; then 1.148 + # Not in mixed or Windows style, start by that. 1.149 + new_path=`cmd //c echo $path` 1.150 + fi 1.151 + 1.152 + BASIC_MAKE_WINDOWS_SPACE_SAFE_MSYS([$new_path]) 1.153 + BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path) 1.154 + if test "x$path" != "x$new_path"; then 1.155 + $1="$new_path" 1.156 + AC_MSG_NOTICE([Rewriting $1 to "$new_path"]) 1.157 + fi 1.158 + 1.159 + # Save the first 10 bytes of this path to the storage, so fixpath can work. 1.160 + all_fixpath_prefixes=("${all_fixpath_prefixes@<:@@@:>@}" "${new_path:0:10}") 1.161 +]) 1.162 + 1.163 +AC_DEFUN([BASIC_FIXUP_EXECUTABLE_CYGWIN], 1.164 +[ 1.165 + # First separate the path from the arguments. This will split at the first 1.166 + # space. 1.167 + complete="[$]$1" 1.168 + path="${complete%% *}" 1.169 + tmp="$complete EOL" 1.170 + arguments="${tmp#* }" 1.171 + 1.172 + # Input might be given as Windows format, start by converting to 1.173 + # unix format. 1.174 + new_path=`$CYGPATH -u "$path"` 1.175 + 1.176 + # Now try to locate executable using which 1.177 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.178 + if test "x$new_path" = x; then 1.179 + # Oops. Which didn't find the executable. 1.180 + # The splitting of arguments from the executable at a space might have been incorrect, 1.181 + # since paths with space are more likely in Windows. Give it another try with the whole 1.182 + # argument. 1.183 + path="$complete" 1.184 + arguments="EOL" 1.185 + new_path=`$CYGPATH -u "$path"` 1.186 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.187 + if test "x$new_path" = x; then 1.188 + # It's still not found. Now this is an unrecoverable error. 1.189 + AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.]) 1.190 + has_space=`$ECHO "$complete" | $GREP " "` 1.191 + if test "x$has_space" != x; then 1.192 + AC_MSG_NOTICE([You might be mixing spaces in the path and extra arguments, which is not allowed.]) 1.193 + fi 1.194 + AC_MSG_ERROR([Cannot locate the the path of $1]) 1.195 + fi 1.196 + fi 1.197 + 1.198 + # Cygwin tries to hide some aspects of the Windows file system, such that binaries are 1.199 + # named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered 1.200 + # the same file, most of the time (as in "test -f"). But not when running cygpath -s, then 1.201 + # "foo.exe" is OK but "foo" is an error. 1.202 + # 1.203 + # This test is therefore slightly more accurate than "test -f" to check for file precense. 1.204 + # It is also a way to make sure we got the proper file name for the real test later on. 1.205 + test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null` 1.206 + if test "x$test_shortpath" = x; then 1.207 + # Short path failed, file does not exist as specified. 1.208 + # Try adding .exe or .cmd 1.209 + if test -f "${new_path}.exe"; then 1.210 + input_to_shortpath="${new_path}.exe" 1.211 + elif test -f "${new_path}.cmd"; then 1.212 + input_to_shortpath="${new_path}.cmd" 1.213 + else 1.214 + AC_MSG_NOTICE([The path of $1, which resolves as "$new_path", is invalid.]) 1.215 + AC_MSG_NOTICE([Neither "$new_path" nor "$new_path.exe/cmd" can be found]) 1.216 + AC_MSG_ERROR([Cannot locate the the path of $1]) 1.217 + fi 1.218 + else 1.219 + input_to_shortpath="$new_path" 1.220 + fi 1.221 + 1.222 + # Call helper function which possibly converts this using DOS-style short mode. 1.223 + # If so, the updated path is stored in $new_path. 1.224 + new_path="$input_to_shortpath" 1.225 + BASIC_MAKE_WINDOWS_SPACE_SAFE_CYGWIN([$input_to_shortpath]) 1.226 + # remove trailing .exe if any 1.227 + new_path="${new_path/%.exe/}" 1.228 +]) 1.229 + 1.230 +AC_DEFUN([BASIC_FIXUP_EXECUTABLE_MSYS], 1.231 +[ 1.232 + # First separate the path from the arguments. This will split at the first 1.233 + # space. 1.234 + complete="[$]$1" 1.235 + path="${complete%% *}" 1.236 + tmp="$complete EOL" 1.237 + arguments="${tmp#* }" 1.238 + 1.239 + # Input might be given as Windows format, start by converting to 1.240 + # unix format. 1.241 + new_path="$path" 1.242 + BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path) 1.243 + 1.244 + # Now try to locate executable using which 1.245 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.246 + 1.247 + if test "x$new_path" = x; then 1.248 + # Oops. Which didn't find the executable. 1.249 + # The splitting of arguments from the executable at a space might have been incorrect, 1.250 + # since paths with space are more likely in Windows. Give it another try with the whole 1.251 + # argument. 1.252 + path="$complete" 1.253 + arguments="EOL" 1.254 + new_path="$path" 1.255 + BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path) 1.256 + 1.257 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.258 + 1.259 + if test "x$new_path" = x; then 1.260 + # It's still not found. Now this is an unrecoverable error. 1.261 + AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.]) 1.262 + has_space=`$ECHO "$complete" | $GREP " "` 1.263 + if test "x$has_space" != x; then 1.264 + AC_MSG_NOTICE([You might be mixing spaces in the path and extra arguments, which is not allowed.]) 1.265 + fi 1.266 + AC_MSG_ERROR([Cannot locate the the path of $1]) 1.267 + fi 1.268 + fi 1.269 + 1.270 + # Now new_path has a complete unix path to the binary 1.271 + if test "x`$ECHO $new_path | $GREP ^/bin/`" != x; then 1.272 + # Keep paths in /bin as-is, but remove trailing .exe if any 1.273 + new_path="${new_path/%.exe/}" 1.274 + # Do not save /bin paths to all_fixpath_prefixes! 1.275 + else 1.276 + # Not in mixed or Windows style, start by that. 1.277 + new_path=`cmd //c echo $new_path` 1.278 + BASIC_MAKE_WINDOWS_SPACE_SAFE_MSYS([$new_path]) 1.279 + # Output is in $new_path 1.280 + BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path) 1.281 + # remove trailing .exe if any 1.282 + new_path="${new_path/%.exe/}" 1.283 + 1.284 + # Save the first 10 bytes of this path to the storage, so fixpath can work. 1.285 + all_fixpath_prefixes=("${all_fixpath_prefixes@<:@@@:>@}" "${new_path:0:10}") 1.286 + fi 1.287 +]) 1.288 + 1.289 +# Setup basic configuration paths, and platform-specific stuff related to PATHs. 1.290 +AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS], 1.291 +[ 1.292 + SRC_ROOT_LENGTH=`$THEPWDCMD|$WC -m` 1.293 + if test $SRC_ROOT_LENGTH -gt 100; then 1.294 + AC_MSG_ERROR([Your base path is too long. It is $SRC_ROOT_LENGTH characters long, but only 100 is supported]) 1.295 + fi 1.296 + 1.297 + if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then 1.298 + AC_MSG_CHECKING([cygwin release]) 1.299 + CYGWIN_VERSION=`$UNAME -r` 1.300 + AC_MSG_RESULT([$CYGWIN_VERSION]) 1.301 + WINDOWS_ENV_VENDOR='cygwin' 1.302 + WINDOWS_ENV_VERSION="$CYGWIN_VERSION" 1.303 + 1.304 + CYGWIN_VERSION_OK=`$ECHO $CYGWIN_VERSION | $GREP ^1.7.` 1.305 + if test "x$CYGWIN_VERSION_OK" = x; then 1.306 + AC_MSG_NOTICE([Your cygwin is too old. You are running $CYGWIN_VERSION, but at least cygwin 1.7 is required. Please upgrade.]) 1.307 + AC_MSG_ERROR([Cannot continue]) 1.308 + fi 1.309 + if test "x$CYGPATH" = x; then 1.310 + AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path]) 1.311 + fi 1.312 + AC_MSG_CHECKING([cygwin root directory as unix-style path]) 1.313 + # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away 1.314 + cygwin_winpath_root=`cd / ; cmd /c cd | grep ".*"` 1.315 + # Force cygpath to report the proper root by including a trailing space, and then stripping it off again. 1.316 + CYGWIN_ROOT_PATH=`$CYGPATH -u "$cygwin_winpath_root " | $CUT -f 1 -d " "` 1.317 + AC_MSG_RESULT([$CYGWIN_ROOT_PATH]) 1.318 + WINDOWS_ENV_ROOT_PATH="$CYGWIN_ROOT_PATH" 1.319 + test_cygdrive_prefix=`$ECHO $CYGWIN_ROOT_PATH | $GREP ^/cygdrive/` 1.320 + if test "x$test_cygdrive_prefix" = x; then 1.321 + AC_MSG_ERROR([Your cygdrive prefix is not /cygdrive. This is currently not supported. Change with mount -c.]) 1.322 + fi 1.323 + elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then 1.324 + AC_MSG_CHECKING([msys release]) 1.325 + MSYS_VERSION=`$UNAME -r` 1.326 + AC_MSG_RESULT([$MSYS_VERSION]) 1.327 + 1.328 + WINDOWS_ENV_VENDOR='msys' 1.329 + WINDOWS_ENV_VERSION="$MSYS_VERSION" 1.330 + 1.331 + AC_MSG_CHECKING([msys root directory as unix-style path]) 1.332 + # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away 1.333 + MSYS_ROOT_PATH=`cd / ; cmd /c cd | grep ".*"` 1.334 + BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(MSYS_ROOT_PATH) 1.335 + AC_MSG_RESULT([$MSYS_ROOT_PATH]) 1.336 + WINDOWS_ENV_ROOT_PATH="$MSYS_ROOT_PATH" 1.337 + else 1.338 + AC_MSG_ERROR([Unknown Windows environment. Neither cygwin nor msys was detected.]) 1.339 + fi 1.340 + 1.341 + # Test if windows or unix (cygwin/msys) find is first in path. 1.342 + AC_MSG_CHECKING([what kind of 'find' is first on the PATH]) 1.343 + FIND_BINARY_OUTPUT=`find --version 2>&1` 1.344 + if test "x`echo $FIND_BINARY_OUTPUT | $GREP GNU`" != x; then 1.345 + AC_MSG_RESULT([unix style]) 1.346 + elif test "x`echo $FIND_BINARY_OUTPUT | $GREP FIND`" != x; then 1.347 + AC_MSG_RESULT([Windows]) 1.348 + AC_MSG_NOTICE([Your path contains Windows tools (C:\Windows\system32) before your unix (cygwin or msys) tools.]) 1.349 + AC_MSG_NOTICE([This will not work. Please correct and make sure /usr/bin (or similar) is first in path.]) 1.350 + AC_MSG_ERROR([Cannot continue]) 1.351 + else 1.352 + AC_MSG_RESULT([unknown]) 1.353 + AC_MSG_WARN([It seems that your find utility is non-standard.]) 1.354 + fi 1.355 +]) 1.356 + 1.357 +AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH], 1.358 +[ 1.359 +# When using cygwin or msys, we need a wrapper binary that renames 1.360 +# /cygdrive/c/ arguments into c:/ arguments and peeks into 1.361 +# @files and rewrites these too! This wrapper binary is 1.362 +# called fixpath. 1.363 +FIXPATH= 1.364 +if test "x$OPENJDK_BUILD_OS" = xwindows; then 1.365 + AC_MSG_CHECKING([if fixpath can be created]) 1.366 + FIXPATH_SRC="$SRC_ROOT/common/src/fixpath.c" 1.367 + FIXPATH_BIN="$OUTPUT_ROOT/fixpath.exe" 1.368 + if test "x$OPENJDK_BUILD_OS_ENV" = xwindows.cygwin; then 1.369 + FIXPATH_SRC=`$CYGPATH -m $FIXPATH_SRC` 1.370 + FIXPATH_BIN=`$CYGPATH -m $FIXPATH_BIN` 1.371 + # Important to keep the .exe suffix on Cygwin for Hotspot makefiles 1.372 + FIXPATH="$OUTPUT_ROOT/fixpath.exe -c" 1.373 + elif test "x$OPENJDK_BUILD_OS_ENV" = xwindows.msys; then 1.374 + FIXPATH_SRC=`cmd //c echo $FIXPATH_SRC` 1.375 + FIXPATH_BIN=`cmd //c echo $FIXPATH_BIN` 1.376 + 1.377 + # Take all collected prefixes and turn them into a -m/c/foo@/c/bar@... command line 1.378 + # @ was chosen as separator to minimize risk of other tools messing around with it 1.379 + all_unique_prefixes=`echo "${all_fixpath_prefixes@<:@@@:>@}" | tr ' ' '\n' | grep '^/./' | sort | uniq` 1.380 + fixpath_argument_list=`echo $all_unique_prefixes | tr ' ' '@'` 1.381 + 1.382 + FIXPATH="$OUTPUT_ROOT/fixpath -m$fixpath_argument_list" 1.383 + fi 1.384 + rm -f $OUTPUT_ROOT/fixpath* 1.385 + cd $OUTPUT_ROOT 1.386 + $CC $FIXPATH_SRC -Fe$FIXPATH_BIN > $OUTPUT_ROOT/fixpath1.log 2>&1 1.387 + cd $CURDIR 1.388 + 1.389 + if test ! -x $OUTPUT_ROOT/fixpath.exe; then 1.390 + AC_MSG_RESULT([no]) 1.391 + cat $OUTPUT_ROOT/fixpath1.log 1.392 + AC_MSG_ERROR([Could not create $OUTPUT_ROOT/fixpath.exe]) 1.393 + fi 1.394 + AC_MSG_RESULT([yes]) 1.395 + AC_MSG_CHECKING([if fixpath.exe works]) 1.396 + cd $OUTPUT_ROOT 1.397 + $FIXPATH $CC $SRC_ROOT/common/src/fixpath.c -Fe$OUTPUT_ROOT/fixpath2.exe > $OUTPUT_ROOT/fixpath2.log 2>&1 1.398 + cd $CURDIR 1.399 + if test ! -x $OUTPUT_ROOT/fixpath2.exe; then 1.400 + AC_MSG_RESULT([no]) 1.401 + cat $OUTPUT_ROOT/fixpath2.log 1.402 + AC_MSG_ERROR([fixpath did not work!]) 1.403 + fi 1.404 + AC_MSG_RESULT([yes]) 1.405 + rm -f $OUTPUT_ROOT/fixpath?.??? $OUTPUT_ROOT/fixpath.obj 1.406 +fi 1.407 + 1.408 +AC_SUBST(FIXPATH) 1.409 +])