aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts/bugzilla-close-candidate.py
diff options
context:
space:
mode:
authorIjaz, Abdul B <abdul.b.ijaz@intel.com>2025-08-10 08:33:30 -0600
committerJeff Law <jlaw@ventanamicro.com>2025-08-10 08:33:30 -0600
commit8a3ad190c14789cde0b03142760b14b5675e8b39 (patch)
tree9b7bd5d367183b42eef10ee73887f6ae5cc7c45b /maintainer-scripts/bugzilla-close-candidate.py
parent57ea630ecd043eb9e27b3b4db4359d78a85f09ad (diff)
downloadgcc-8a3ad190c14789cde0b03142760b14b5675e8b39.zip
gcc-8a3ad190c14789cde0b03142760b14b5675e8b39.tar.gz
gcc-8a3ad190c14789cde0b03142760b14b5675e8b39.tar.bz2
config: Handle dash in library name for AC_LIB_LINKAGEFLAGS_BODY
For a library with dash in the name like yaml-cpp the AC_LIB_LINKAGEFLAGS_BODY function generates a with_libname_type argument variable name with a dash but this results in configure error. Since dashes are not allowed in the variable name. This change handles such cases and in case input library for the AC_LIB_HAVE_LINKFLAGS has dash then it replaces it with the underscore "_". Example of an error for yaml-cpp library before the change using gcc config scripts in gdb: gdb/gdb/configure: line 22868: with_libyaml-cpp_type=auto: command not found After having underscore for this variable name: checking whether to use yaml-cpp... yes checking for libyaml-cpp... yes checking how to link with libyaml-cpp... -lyaml-cpp config/ChangeLog: * lib-link.m4: Handle dash in the library name for AC_LIB_LINKFLAGS_BODY.
Diffstat (limited to 'maintainer-scripts/bugzilla-close-candidate.py')
0 files changed, 0 insertions, 0 deletions