mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Enhanced version string extraction for 3rd party libraries.
This commit is contained in:
parent
a50e07db46
commit
6b48c45c54
@ -438,7 +438,7 @@ if [ -d "${LibMagicSourceDir}" -a ! -f "${LibMagicInstallHdr}" ]; then
|
||||
# we have a private libmagic (file(1)) source tree at hand...
|
||||
# so let's build and install it
|
||||
if [ -z "${LibMagicVersion}" ]; then
|
||||
LibMagicVersion=$(grep AC_INIT "${LibMagicSourceDir}"/configure.ac | cut -d, -f2|tr -d " ()")
|
||||
LibMagicVersion=$(grep AC_INIT "${LibMagicSourceDir}"/configure.ac | cut -d, -f2|tr -d " []()")
|
||||
fi
|
||||
|
||||
LibMagicName="LibMagic"
|
||||
@ -499,7 +499,7 @@ if [ -d "${HunSpellSourceDir}" -a ! -f "${HunSpellInstallHdr}" ]; then
|
||||
# we have a private HunSpell source tree at hand...
|
||||
# so let's build and install it
|
||||
if [ -z "${HunSpellVersion}" ]; then
|
||||
HunSpellVersion=$(grep AC_INIT "${HunSpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " ()")
|
||||
HunSpellVersion=$(grep AC_INIT "${HunSpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " []()")
|
||||
fi
|
||||
|
||||
HunSpellName="Hunspell"
|
||||
@ -561,7 +561,7 @@ if [ -d "${ASpellSourceDir}" -a ! -f "${ASpellInstallHdr}" -a "yes" = "${aspell_
|
||||
# we have a private ASpell source tree at hand...
|
||||
# so let's build and install it
|
||||
if [ -z "${ASpellVersion}" ]; then
|
||||
ASpellVersion=$(grep AC_INIT "${ASpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " ()")
|
||||
ASpellVersion=$(grep AC_INIT "${ASpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " []()")
|
||||
fi
|
||||
|
||||
ASpellName="Aspell"
|
||||
|
Loading…
Reference in New Issue
Block a user