diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-02-09 09:01:58 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2016-02-09 09:01:58 -0500 |
commit | 1e94266c4db633f7defaf4bb68c74fd09a9cf9e2 (patch) | |
tree | d5e184312fa541f34cad8c389f124c176a4c96ea /gdb/gdbserver | |
parent | 2a7f3dffced7a20c992e1488d9f05fed8b8001fd (diff) | |
download | gdb-1e94266c4db633f7defaf4bb68c74fd09a9cf9e2.zip gdb-1e94266c4db633f7defaf4bb68c74fd09a9cf9e2.tar.gz gdb-1e94266c4db633f7defaf4bb68c74fd09a9cf9e2.tar.bz2 |
Modernize configure.ac's
Using AC_OUTPUT with arguments has been deprecated for some time in
autoconf, even in version 2.64, which we are using. This change should
not affect functionality.
I also removed the "exit 0"'s, they shouldn't be necessary.
gdb/ChangeLog:
* configure.ac: Use AC_CONFIG_FILES instead of passing arguments
to AC_OUTPUT. Remove "exit 0" at the end.
* configure: Regenerate.
gdb/testsuite/ChangeLog:
* configure.ac: Use AC_CONFIG_FILES instead of passing arguments
to AC_OUTPUT.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
* configure.ac: Use AC_CONFIG_FILES instead of passing arguments
to AC_OUTPUT.
* configure: Regenerate.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 4 | ||||
-rw-r--r-- | gdb/gdbserver/configure.ac | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 3d799c1..30df0bc 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2016-02-09 Simon Marchi <simon.marchi@ericsson.com> + * configure.ac: Use AC_CONFIG_FILES instead of passing arguments + to AC_OUTPUT. + * configure: Regenerate. + +2016-02-09 Simon Marchi <simon.marchi@ericsson.com> + * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): Change void * to gdb_byte *. * linux-low.c (siginfo_fixup): Likewise. diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 4a6f26b..bb01922 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7611,7 +7611,6 @@ fi ac_config_files="$ac_config_files Makefile" -ac_config_commands="$ac_config_commands default" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -8312,7 +8311,6 @@ do "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac @@ -8858,7 +8856,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;} case $ac_file$ac_mode in "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;; - "default":C) case x$CONFIG_HEADERS in + "Makefile":F) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index f15ee1f..627c590 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -473,9 +473,11 @@ if test x"$STDINT_H" != x; then fi AC_SUBST(GNULIB_STDINT_H) -AC_OUTPUT(Makefile, +AC_CONFIG_FILES([Makefile], [case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ]) + +AC_OUTPUT |