disable -Werror by default, don't strip shared libraries and executables during install

git-svn-id: svn+q:///qpdf/trunk@1058 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2011-06-23 18:40:37 +00:00
parent e37d4d13e3
commit a8a95fba47
5 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2011-06-23 Jay Berkenbilt <ejb@ql.org>
* make/libtool.mk (install): Do not strip executables and shared
libraries during installation. Leave that up to the packager.
* configure.ac: disable -Werror by default.
2011-05-07 Jay Berkenbilt <ejb@ql.org>
* libqpdf/QPDF_linearization.cc (isLinearized): remove unused

View File

@ -33,7 +33,7 @@ Release Reminders
make_dist does the following:
./autogen.sh
./configure --enable-doc-maintenance
./configure --enable-doc-maintenance --enable-werror
make build_manual
make distclean

View File

@ -114,12 +114,12 @@ if test "$BUILDRULES" != "msvc"; then
AC_MSG_CHECKING(for whether to use -Werror)
AC_ARG_ENABLE(werror,
AS_HELP_STRING([--enable-werror],
[whether to use werror (default is yes if -Wall works)]),
[whether to use werror (default is no)]),
[if test "$enableval" = "yes"; then
qpdf_USE_WERROR=1;
else
qpdf_USE_WERROR=0;
fi], [qpdf_USE_WERROR=$qpdf_USE_WALL])
fi], [qpdf_USE_WERROR=0])
if test "$qpdf_USE_WERROR" = "1"; then
AC_MSG_RESULT(yes)
CFLAGS="$CFLAGS -Werror"

View File

@ -98,15 +98,15 @@ install: all
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
./mkinstalldirs $(DESTDIR)$(docdir)
./mkinstalldirs $(DESTDIR)$(mandir)/man1
$(LIBTOOL) --mode=install install -s -c \
$(LIBTOOL) --mode=install install -c \
libqpdf/$(OUTPUT_DIR)/libqpdf.la \
$(DESTDIR)$(libdir)/libqpdf.la
$(LIBTOOL) --finish $(DESTDIR)$(libdir)
$(RM) $(DESTDIR)$(libdir)/libqpdf.la
$(LIBTOOL) --mode=install install -s -c \
$(LIBTOOL) --mode=install install -c \
qpdf/$(OUTPUT_DIR)/qpdf \
$(DESTDIR)$(bindir)/qpdf
$(LIBTOOL) --mode=install install -s -c \
$(LIBTOOL) --mode=install install -c \
zlib-flate/$(OUTPUT_DIR)/zlib-flate \
$(DESTDIR)$(bindir)/zlib-flate
cp qpdf/fix-qdf $(DESTDIR)$(bindir)

View File

@ -110,7 +110,7 @@ if ($version_error)
}
run("./autogen.sh");
run("./configure --enable-doc-maintenance");
run("./configure --enable-doc-maintenance --enable-werror");
run("make build_manual");
run("make distclean");
cd($pwd);