Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
unshield
unshield-zlib_test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unshield-zlib_test.patch of Package unshield
--- Makefile.am +++ Makefile.am @@ -2,6 +2,7 @@ @SET_MAKE@ ## don't complain about missing AUTHORS, NEWS, ChangeLog, etc +ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS = foreign 1.4 m4datadir = $(datadir)/aclocal --- m4/check_zlib.m4 +++ m4/check_zlib.m4 @@ -31,13 +31,13 @@ [ --with-zlib=DIR root directory path of zlib installation [defaults to /usr/local or /usr if not found in /usr/local] --without-zlib to disable zlib usage completely], -[if test "$withval" != no ; then - AC_MSG_RESULT(yes) +[if test "$withval" != "no" ; then + AC_MSG_RESULT([yes]) ZLIB_HOME="$withval" else - AC_MSG_RESULT(no) + AC_MSG_RESULT([no]) fi], [ -AC_MSG_RESULT(yes) +AC_MSG_RESULT([yes]) ZLIB_HOME=/usr/local if test ! -f "${ZLIB_HOME}/include/zlib.h" then @@ -50,8 +50,8 @@ # if test -n "${ZLIB_HOME}" then - ZLIB_OLD_LDFLAGS=$LDFLAGS - ZLIB_OLD_CPPFLAGS=$LDFLAGS + ZLIB_OLD_LDFLAGS="$LDFLAGS" + ZLIB_OLD_CPPFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" AC_LANG_SAVE @@ -65,17 +65,17 @@ # If both library and header were found, use them # AC_CHECK_LIB(z, inflateEnd) - AC_MSG_CHECKING(zlib in ${ZLIB_HOME}) - AC_MSG_RESULT(ok) + AC_MSG_CHECKING([zlib in ${ZLIB_HOME}]) + AC_MSG_RESULT([ok]) else # # If either header or library was not found, revert and bomb # - AC_MSG_CHECKING(zlib in ${ZLIB_HOME}) + AC_MSG_CHECKING([zlib in ${ZLIB_HOME}]) LDFLAGS="$ZLIB_OLD_LDFLAGS" CPPFLAGS="$ZLIB_OLD_CPPFLAGS" - AC_MSG_RESULT(failed) - AC_MSG_ERROR(either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib) + AC_MSG_RESULT([failed]) + AC_MSG_ERROR([either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib]) fi fi
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