projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update comment of linespec_lexer_lex_keyword.
[deliverable/binutils-gdb.git]
/
gdb
/
acx_configure_dir.m4
diff --git
a/gdb/acx_configure_dir.m4
b/gdb/acx_configure_dir.m4
index e4318751478ddc603e41ae3a3fe74f1c7100a829..3bfe82630b60a1a98c523aaa036581f0443534ac 100644
(file)
--- a/
gdb/acx_configure_dir.m4
+++ b/
gdb/acx_configure_dir.m4
@@
-1,12
+1,10
@@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Free Software
-# Foundation, Inc.
+# Copyright (C) 1992-2015 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
-# ACX_CONFIGURE_DIR(SRC-DIR-NAME, BUILD-DIR-NAME)
+# ACX_CONFIGURE_DIR(SRC-DIR-NAME, BUILD-DIR-NAME
, EXTRA-ARGS
)
# ---------------------------
#
# Configure a subdirectory. This is an alternative to
# ---------------------------
#
# Configure a subdirectory. This is an alternative to
@@
-18,11
+16,14
@@
# Inputs:
# - SRC-DIR-NAME is the source directory, relative to $srcdir.
# - BUILD-DIR-NAME is `top-build -> build'
# Inputs:
# - SRC-DIR-NAME is the source directory, relative to $srcdir.
# - BUILD-DIR-NAME is `top-build -> build'
+# - EXTRA-ARGS is an optional list of extra arguments to add
+# at the end of the configure command.
AC_DEFUN([ACX_CONFIGURE_DIR],
[
in_src=$1
in_build=$2
AC_DEFUN([ACX_CONFIGURE_DIR],
[
in_src=$1
in_build=$2
+ in_extra_args=$3
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
# so they do not pile up.
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
# so they do not pile up.
@@
-107,6
+108,11
@@
AC_DEFUN([ACX_CONFIGURE_DIR],
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
esac
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
esac
+ if test -n "$in_extra_args"; then
+ # Add the extra args at the end.
+ ac_sub_configure_args="$ac_sub_configure_args $in_extra_args"
+ fi
+
AC_MSG_NOTICE([running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir])
# The eval makes quoting arguments work.
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
AC_MSG_NOTICE([running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir])
# The eval makes quoting arguments work.
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
This page took
0.023516 seconds
and
4
git commands to generate.