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 | 2011-05-07 Jay Berkenbilt <ejb@ql.org> | 8 | 2011-05-07 Jay Berkenbilt <ejb@ql.org> |
| 2 | 9 | ||
| 3 | * libqpdf/QPDF_linearization.cc (isLinearized): remove unused | 10 | * libqpdf/QPDF_linearization.cc (isLinearized): remove unused |
README.maintainer
| @@ -33,7 +33,7 @@ Release Reminders | @@ -33,7 +33,7 @@ Release Reminders | ||
| 33 | make_dist does the following: | 33 | make_dist does the following: |
| 34 | 34 | ||
| 35 | ./autogen.sh | 35 | ./autogen.sh |
| 36 | - ./configure --enable-doc-maintenance | 36 | + ./configure --enable-doc-maintenance --enable-werror |
| 37 | make build_manual | 37 | make build_manual |
| 38 | make distclean | 38 | make distclean |
| 39 | 39 |
configure.ac
| @@ -114,12 +114,12 @@ if test "$BUILDRULES" != "msvc"; then | @@ -114,12 +114,12 @@ if test "$BUILDRULES" != "msvc"; then | ||
| 114 | AC_MSG_CHECKING(for whether to use -Werror) | 114 | AC_MSG_CHECKING(for whether to use -Werror) |
| 115 | AC_ARG_ENABLE(werror, | 115 | AC_ARG_ENABLE(werror, |
| 116 | AS_HELP_STRING([--enable-werror], | 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 | [if test "$enableval" = "yes"; then | 118 | [if test "$enableval" = "yes"; then |
| 119 | qpdf_USE_WERROR=1; | 119 | qpdf_USE_WERROR=1; |
| 120 | else | 120 | else |
| 121 | qpdf_USE_WERROR=0; | 121 | qpdf_USE_WERROR=0; |
| 122 | - fi], [qpdf_USE_WERROR=$qpdf_USE_WALL]) | 122 | + fi], [qpdf_USE_WERROR=0]) |
| 123 | if test "$qpdf_USE_WERROR" = "1"; then | 123 | if test "$qpdf_USE_WERROR" = "1"; then |
| 124 | AC_MSG_RESULT(yes) | 124 | AC_MSG_RESULT(yes) |
| 125 | CFLAGS="$CFLAGS -Werror" | 125 | CFLAGS="$CFLAGS -Werror" |
make/libtool.mk
| @@ -98,15 +98,15 @@ install: all | @@ -98,15 +98,15 @@ install: all | ||
| 98 | ./mkinstalldirs $(DESTDIR)$(includedir)/qpdf | 98 | ./mkinstalldirs $(DESTDIR)$(includedir)/qpdf |
| 99 | ./mkinstalldirs $(DESTDIR)$(docdir) | 99 | ./mkinstalldirs $(DESTDIR)$(docdir) |
| 100 | ./mkinstalldirs $(DESTDIR)$(mandir)/man1 | 100 | ./mkinstalldirs $(DESTDIR)$(mandir)/man1 |
| 101 | - $(LIBTOOL) --mode=install install -s -c \ | 101 | + $(LIBTOOL) --mode=install install -c \ |
| 102 | libqpdf/$(OUTPUT_DIR)/libqpdf.la \ | 102 | libqpdf/$(OUTPUT_DIR)/libqpdf.la \ |
| 103 | $(DESTDIR)$(libdir)/libqpdf.la | 103 | $(DESTDIR)$(libdir)/libqpdf.la |
| 104 | $(LIBTOOL) --finish $(DESTDIR)$(libdir) | 104 | $(LIBTOOL) --finish $(DESTDIR)$(libdir) |
| 105 | $(RM) $(DESTDIR)$(libdir)/libqpdf.la | 105 | $(RM) $(DESTDIR)$(libdir)/libqpdf.la |
| 106 | - $(LIBTOOL) --mode=install install -s -c \ | 106 | + $(LIBTOOL) --mode=install install -c \ |
| 107 | qpdf/$(OUTPUT_DIR)/qpdf \ | 107 | qpdf/$(OUTPUT_DIR)/qpdf \ |
| 108 | $(DESTDIR)$(bindir)/qpdf | 108 | $(DESTDIR)$(bindir)/qpdf |
| 109 | - $(LIBTOOL) --mode=install install -s -c \ | 109 | + $(LIBTOOL) --mode=install install -c \ |
| 110 | zlib-flate/$(OUTPUT_DIR)/zlib-flate \ | 110 | zlib-flate/$(OUTPUT_DIR)/zlib-flate \ |
| 111 | $(DESTDIR)$(bindir)/zlib-flate | 111 | $(DESTDIR)$(bindir)/zlib-flate |
| 112 | cp qpdf/fix-qdf $(DESTDIR)$(bindir) | 112 | cp qpdf/fix-qdf $(DESTDIR)$(bindir) |
make_dist
| @@ -110,7 +110,7 @@ if ($version_error) | @@ -110,7 +110,7 @@ if ($version_error) | ||
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | run("./autogen.sh"); | 112 | run("./autogen.sh"); |
| 113 | -run("./configure --enable-doc-maintenance"); | 113 | +run("./configure --enable-doc-maintenance --enable-werror"); |
| 114 | run("make build_manual"); | 114 | run("make build_manual"); |
| 115 | run("make distclean"); | 115 | run("make distclean"); |
| 116 | cd($pwd); | 116 | cd($pwd); |