2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00
Files
amigaos-cross-toolchain6/patches/gcc-3.4.6/gcc/configure.ac.diff
Krystian Bacławski cfa575b5ca Switch to gcc 3.4.6.
2013-05-19 21:39:06 +02:00

36 lines
1.0 KiB
Diff

--- gcc-3.4.6/gcc/configure.ac 2013-05-19 20:09:27.000000000 +0200
+++ gcc-3.4.6-patched/gcc/configure.ac 2013-05-19 20:23:32.000000000 +0200
@@ -101,10 +101,11 @@
# Directories
# -----------
+### begin-GG-local: local prefix
# Specify the local prefix
local_prefix=
AC_ARG_WITH(local-prefix,
-[ --with-local-prefix=DIR specifies directory to put local include],
+[ --with-local-prefix=DIR specifies directory to put local include directory (not files).],
[case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} given for local include directory prefix) ;;
no) ;;
@@ -113,8 +114,9 @@
# Default local prefix if it is empty
if test x$local_prefix = x; then
- local_prefix=/usr/local
+ local_prefix='${prefix}'/local
fi
+### end-GG-local
# Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
# passed in by the toplevel make and thus we'd get different behavior
@@ -962,6 +964,8 @@
gcc_AC_INITFINI_ARRAY
+AC_FUNC_ALLOCA
+
# mkdir takes a single argument on some systems.
gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG