Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
sablot
sablot-1.0.3-newautoconf.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sablot-1.0.3-newautoconf.diff of Package sablot
--- configure.in +++ configure.in @@ -429,7 +429,7 @@ panic=0 if test $xmle = 1; then resmsg='expat (new)' -elif $xmlp = 1; then +elif test $xmlp = 1; then resmsg='expat (old)' else resmsg='not found (panic)' @@ -443,11 +443,13 @@ dnl Expat headers location (according Linux distribution etc.) dnl different headers for different library version required +has_expat_headers=0 if test $xmle = 1; then - AC_CHECK_HEADERS( expat.h, has_expat_headers=1, has_expat_headers=0 ) -else - AC_CHECK_HEADERS( xmlparse.h xmltok/xmlparse.h, has_expat_headers=1, - has_expat_headers=0 ) + AC_CHECK_HEADERS( expat.h, has_expat_headers=1 ) +fi + +if test $has_expat_headers = 0; then + AC_CHECK_HEADERS( xmlparse.h xmltok/xmlparse.h, [has_expat_headers=1; break] ) fi if test $has_expat_headers = 0; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor