Commit a8a95fba47e32356d536671d6c5ebd82a6c4507c
1 parent
e37d4d13
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
Showing
5 changed files
with
14 additions
and
7 deletions
ChangeLog
| 1 | +2011-06-23 Jay Berkenbilt <ejb@ql.org> | |
| 2 | + | |
| 3 | + * make/libtool.mk (install): Do not strip executables and shared | |
| 4 | + libraries during installation. Leave that up to the packager. | |
| 5 | + | |
| 6 | + * configure.ac: disable -Werror by default. | |
| 7 | + | |
| 1 | 8 | 2011-05-07 Jay Berkenbilt <ejb@ql.org> |
| 2 | 9 | |
| 3 | 10 | * libqpdf/QPDF_linearization.cc (isLinearized): remove unused | ... | ... |
README.maintainer
configure.ac
| ... | ... | @@ -114,12 +114,12 @@ if test "$BUILDRULES" != "msvc"; then |
| 114 | 114 | AC_MSG_CHECKING(for whether to use -Werror) |
| 115 | 115 | AC_ARG_ENABLE(werror, |
| 116 | 116 | AS_HELP_STRING([--enable-werror], |
| 117 | - [whether to use werror (default is yes if -Wall works)]), | |
| 117 | + [whether to use werror (default is no)]), | |
| 118 | 118 | [if test "$enableval" = "yes"; then |
| 119 | 119 | qpdf_USE_WERROR=1; |
| 120 | 120 | else |
| 121 | 121 | qpdf_USE_WERROR=0; |
| 122 | - fi], [qpdf_USE_WERROR=$qpdf_USE_WALL]) | |
| 122 | + fi], [qpdf_USE_WERROR=0]) | |
| 123 | 123 | if test "$qpdf_USE_WERROR" = "1"; then |
| 124 | 124 | AC_MSG_RESULT(yes) |
| 125 | 125 | CFLAGS="$CFLAGS -Werror" | ... | ... |
make/libtool.mk
| ... | ... | @@ -98,15 +98,15 @@ install: all |
| 98 | 98 | ./mkinstalldirs $(DESTDIR)$(includedir)/qpdf |
| 99 | 99 | ./mkinstalldirs $(DESTDIR)$(docdir) |
| 100 | 100 | ./mkinstalldirs $(DESTDIR)$(mandir)/man1 |
| 101 | - $(LIBTOOL) --mode=install install -s -c \ | |
| 101 | + $(LIBTOOL) --mode=install install -c \ | |
| 102 | 102 | libqpdf/$(OUTPUT_DIR)/libqpdf.la \ |
| 103 | 103 | $(DESTDIR)$(libdir)/libqpdf.la |
| 104 | 104 | $(LIBTOOL) --finish $(DESTDIR)$(libdir) |
| 105 | 105 | $(RM) $(DESTDIR)$(libdir)/libqpdf.la |
| 106 | - $(LIBTOOL) --mode=install install -s -c \ | |
| 106 | + $(LIBTOOL) --mode=install install -c \ | |
| 107 | 107 | qpdf/$(OUTPUT_DIR)/qpdf \ |
| 108 | 108 | $(DESTDIR)$(bindir)/qpdf |
| 109 | - $(LIBTOOL) --mode=install install -s -c \ | |
| 109 | + $(LIBTOOL) --mode=install install -c \ | |
| 110 | 110 | zlib-flate/$(OUTPUT_DIR)/zlib-flate \ |
| 111 | 111 | $(DESTDIR)$(bindir)/zlib-flate |
| 112 | 112 | cp qpdf/fix-qdf $(DESTDIR)$(bindir) | ... | ... |
make_dist
| ... | ... | @@ -110,7 +110,7 @@ if ($version_error) |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | run("./autogen.sh"); |
| 113 | -run("./configure --enable-doc-maintenance"); | |
| 113 | +run("./configure --enable-doc-maintenance --enable-werror"); | |
| 114 | 114 | run("make build_manual"); |
| 115 | 115 | run("make distclean"); |
| 116 | 116 | cd($pwd); | ... | ... |