diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-29 10:55:18 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-03-31 12:04:08 +0000 |
commit | 94dd53c5b6c7b6cfc496a9a49cb73630ce0d6dd1 (patch) | |
tree | 8ff01e2d4ac2e2190e56003638d42744755374e2 /configure | |
parent | bb55b712e8dc4d4eb515144d5c26798fea178cba (diff) | |
download | hqemu-94dd53c5b6c7b6cfc496a9a49cb73630ce0d6dd1.zip hqemu-94dd53c5b6c7b6cfc496a9a49cb73630ce0d6dd1.tar.gz |
buildfix: check for old pod2man versions
Older pod2man don't have a --utf8 switch, check for this in conffigure
and use it only when present. Fixes build on RHEL-5.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2821,6 +2821,13 @@ if test "$solaris" = "no" ; then fi fi +# test if pod2man has --utf8 option +if pod2man --help | grep -q utf8; then + POD2MAN="pod2man --utf8" +else + POD2MAN="pod2man" +fi + # Use ASLR, no-SEH and DEP if available if test "$mingw32" = "yes" ; then for flag in --dynamicbase --no-seh --nxcompat; do @@ -3358,6 +3365,7 @@ echo "LIBS+=$LIBS" >> $config_host_mak echo "LIBS_TOOLS+=$libs_tools" >> $config_host_mak echo "EXESUF=$EXESUF" >> $config_host_mak echo "LIBS_QGA+=$libs_qga" >> $config_host_mak +echo "POD2MAN=$POD2MAN" >> $config_host_mak # generate list of library paths for linker script |