mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL. * configure: Regenerate. config: * acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-03-23 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2007-03-23 Alan Modra <amodra@bigpond.net.au>
|
2007-03-23 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-spu.c (spu_stub_name): Don't put input section in stub name.
|
* elf32-spu.c (spu_stub_name): Don't put input section in stub name.
|
||||||
|
36
bfd/configure
vendored
36
bfd/configure
vendored
@ -873,7 +873,8 @@ Optional Packages:
|
|||||||
--with-gnu-ld assume the C compiler uses GNU ld default=no
|
--with-gnu-ld assume the C compiler uses GNU ld default=no
|
||||||
--with-pic try to use only PIC/non-PIC objects default=use both
|
--with-pic try to use only PIC/non-PIC objects default=use both
|
||||||
--with-mmap try using mmap for BFD input files if available
|
--with-mmap try using mmap for BFD input files if available
|
||||||
--with-pkgversion=PKG Add PKG to the version string
|
--with-pkgversion=PKG Use PKG in the version string in place of "GNU
|
||||||
|
Binutils"
|
||||||
--with-bugurl=URL Direct users to URL to report a bug
|
--with-bugurl=URL Direct users to URL to report a bug
|
||||||
|
|
||||||
Some influential environment variables:
|
Some influential environment variables:
|
||||||
@ -4033,7 +4034,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
|
|||||||
case $host in
|
case $host in
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 4036 "configure"' > conftest.$ac_ext
|
echo '#line 4037 "configure"' > conftest.$ac_ext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -4387,49 +4388,50 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Package version. For an official FSF release, it is empty.
|
|
||||||
|
|
||||||
# Check whether --with-pkgversion or --without-pkgversion was given.
|
# Check whether --with-pkgversion or --without-pkgversion was given.
|
||||||
if test "${with_pkgversion+set}" = set; then
|
if test "${with_pkgversion+set}" = set; then
|
||||||
withval="$with_pkgversion"
|
withval="$with_pkgversion"
|
||||||
case "$withval" in
|
case "$withval" in
|
||||||
yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
|
yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
|
||||||
echo "$as_me: error: package version not specified" >&2;}
|
echo "$as_me: error: package version not specified" >&2;}
|
||||||
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
||||||
no) PKGVERSION= ;;
|
no) PKGVERSION= ;;
|
||||||
*) PKGVERSION="($withval) " ;;
|
*) PKGVERSION="($withval) " ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
PKGVERSION="(GNU Binutils) "
|
PKGVERSION="(GNU Binutils) "
|
||||||
|
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|
||||||
# The location to which bugs should be reported.
|
|
||||||
|
|
||||||
# Check whether --with-bugurl or --without-bugurl was given.
|
# Check whether --with-bugurl or --without-bugurl was given.
|
||||||
if test "${with_bugurl+set}" = set; then
|
if test "${with_bugurl+set}" = set; then
|
||||||
withval="$with_bugurl"
|
withval="$with_bugurl"
|
||||||
case "$withval" in
|
case "$withval" in
|
||||||
yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
|
yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
|
||||||
echo "$as_me: error: bug URL not specified" >&2;}
|
echo "$as_me: error: bug URL not specified" >&2;}
|
||||||
{ (exit 1); exit 1; }; } ;;
|
{ (exit 1); exit 1; }; } ;;
|
||||||
no) REPORT_BUGS_TO="";
|
no) REPORT_BUGS_TO="";
|
||||||
REPORT_BUGS_TEXI=""
|
REPORT_BUGS_TEXI=""
|
||||||
;;
|
;;
|
||||||
*) REPORT_BUGS_TO="<$withval>"
|
*) REPORT_BUGS_TO="<$withval>"
|
||||||
REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
|
REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
REPORT_BUGS_TO="<http://www.sourceware.org/bugzilla/>"
|
REPORT_BUGS_TO="<http://www.sourceware.org/bugzilla/>"
|
||||||
REPORT_BUGS_TEXI="@uref{http://www.sourceware.org/bugzilla/}"
|
REPORT_BUGS_TEXI="@uref{http://www.sourceware.org/bugzilla/}"
|
||||||
|
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||||
|
|
||||||
# Check whether --enable-werror or --disable-werror was given.
|
# Check whether --enable-werror or --disable-werror was given.
|
||||||
|
@ -63,37 +63,8 @@ if test $use_secureplt = true; then
|
|||||||
[Define if we should default to creating read-only plt entries])
|
[Define if we should default to creating read-only plt entries])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Package version. For an official FSF release, it is empty.
|
ACX_PKGVERSION([GNU Binutils])
|
||||||
AC_ARG_WITH(pkgversion,
|
ACX_BUGURL([http://www.sourceware.org/bugzilla/])
|
||||||
AS_HELP_STRING([--with-pkgversion=PKG],
|
|
||||||
[Add PKG to the version string]),
|
|
||||||
[case "$withval" in
|
|
||||||
yes) AC_MSG_ERROR([package version not specified]) ;;
|
|
||||||
no) PKGVERSION= ;;
|
|
||||||
*) PKGVERSION="($withval) " ;;
|
|
||||||
esac],
|
|
||||||
PKGVERSION="(GNU Binutils) "
|
|
||||||
)
|
|
||||||
AC_SUBST(PKGVERSION)
|
|
||||||
|
|
||||||
# The location to which bugs should be reported.
|
|
||||||
AC_ARG_WITH(bugurl,
|
|
||||||
AS_HELP_STRING([--with-bugurl=URL],
|
|
||||||
[Direct users to URL to report a bug]),
|
|
||||||
[case "$withval" in
|
|
||||||
yes) AC_MSG_ERROR([bug URL not specified]) ;;
|
|
||||||
no) REPORT_BUGS_TO="";
|
|
||||||
REPORT_BUGS_TEXI=""
|
|
||||||
;;
|
|
||||||
*) REPORT_BUGS_TO="<$withval>"
|
|
||||||
REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
|
|
||||||
;;
|
|
||||||
esac],
|
|
||||||
REPORT_BUGS_TO="<http://www.sourceware.org/bugzilla/>"
|
|
||||||
REPORT_BUGS_TEXI="@uref{http://www.sourceware.org/bugzilla/}"
|
|
||||||
)
|
|
||||||
AC_SUBST(REPORT_BUGS_TO)
|
|
||||||
AC_SUBST(REPORT_BUGS_TEXI)
|
|
||||||
|
|
||||||
AM_BINUTILS_WARNINGS
|
AM_BINUTILS_WARNINGS
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2007-03-23 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
|
||||||
|
|
||||||
2007-03-07 Andreas Schwab <schwab@suse.de>
|
2007-03-07 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
|
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
|
||||||
|
@ -552,3 +552,41 @@ AC_DEFUN([ACX_CHECK_PROG_VER],[
|
|||||||
$1="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing $2"
|
$1="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing $2"
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl Support the --with-pkgversion configure option.
|
||||||
|
dnl ACX_PKGVERSION(default-pkgversion)
|
||||||
|
AC_DEFUN([ACX_PKGVERSION],[
|
||||||
|
AC_ARG_WITH(pkgversion,
|
||||||
|
AS_HELP_STRING([--with-pkgversion=PKG],
|
||||||
|
[Use PKG in the version string in place of "$1"]),
|
||||||
|
[case "$withval" in
|
||||||
|
yes) AC_MSG_ERROR([package version not specified]) ;;
|
||||||
|
no) PKGVERSION= ;;
|
||||||
|
*) PKGVERSION="($withval) " ;;
|
||||||
|
esac],
|
||||||
|
PKGVERSION="($1) "
|
||||||
|
)
|
||||||
|
AC_SUBST(PKGVERSION)
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl Support the --with-bugurl configure option.
|
||||||
|
dnl ACX_BUGURL(default-bugurl)
|
||||||
|
AC_DEFUN([ACX_BUGURL],[
|
||||||
|
AC_ARG_WITH(bugurl,
|
||||||
|
AS_HELP_STRING([--with-bugurl=URL],
|
||||||
|
[Direct users to URL to report a bug]),
|
||||||
|
[case "$withval" in
|
||||||
|
yes) AC_MSG_ERROR([bug URL not specified]) ;;
|
||||||
|
no) REPORT_BUGS_TO="";
|
||||||
|
REPORT_BUGS_TEXI=""
|
||||||
|
;;
|
||||||
|
*) REPORT_BUGS_TO="<$withval>"
|
||||||
|
REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
REPORT_BUGS_TO="<$1>"
|
||||||
|
REPORT_BUGS_TEXI="@uref{$1}"
|
||||||
|
)
|
||||||
|
AC_SUBST(REPORT_BUGS_TO)
|
||||||
|
AC_SUBST(REPORT_BUGS_TEXI)
|
||||||
|
])
|
||||||
|
Reference in New Issue
Block a user