diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-06 20:48:46 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-12 20:24:08 -0400 |
commit | 6dd65fc048dbe167b809f687acc6228eb07ecec6 (patch) | |
tree | 6784f6a25e493296f4600ee94f1d5bcc3cf79da9 /sim/ppc/configure | |
parent | 04381273a9ea0cf30575d58983287cd950b3e166 (diff) | |
download | gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.zip gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.tar.gz gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.tar.bz2 |
sim: unify bug & package settings
Move these options up to the common dir so we only test & export
them once across all ports. The AC_INIT macro does a lot of the
heavy lifting already which allows further simplification.
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-x | sim/ppc/configure | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure index 49990a4..5f0f779 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -675,9 +675,6 @@ build_os build_vendor build_cpu build -REPORT_BUGS_TEXI -REPORT_BUGS_TO -PKGVERSION WERROR_CFLAGS EGREP GREP @@ -774,8 +771,6 @@ enable_sim_timebase enable_werror enable_sim_warnings enable_sim_xor_endian -with_pkgversion -with_bugurl with_system_zlib enable_plugins ' @@ -1439,8 +1434,6 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-pkgversion=PKG Use PKG in the version string in place of "GDB" - --with-bugurl=URL Direct users to URL to report a bug --with-system-zlib use installed libz Some influential environment variables: @@ -4488,62 +4481,6 @@ else fi - - -# Check whether --with-pkgversion was given. -if test "${with_pkgversion+set}" = set; then : - withval=$with_pkgversion; case "$withval" in - yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;; - no) PKGVERSION= ;; - *) PKGVERSION="($withval) " ;; - esac -else - PKGVERSION="(GDB) " - -fi - - - - - -# Check whether --with-bugurl was given. -if test "${with_bugurl+set}" = set; then : - withval=$with_bugurl; case "$withval" in - yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;; - no) BUGURL= - ;; - *) BUGURL="$withval" - ;; - esac -else - BUGURL="https://www.gnu.org/software/gdb/bugs/" - -fi - - case ${BUGURL} in - "") - REPORT_BUGS_TO= - REPORT_BUGS_TEXI= - ;; - *) - REPORT_BUGS_TO="<$BUGURL>" - REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`} - ;; - esac; - - - - -cat >>confdefs.h <<_ACEOF -#define PKGVERSION "$PKGVERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define REPORT_BUGS_TO "$REPORT_BUGS_TO" -_ACEOF - - # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |